Hello,
I have two text editors ( UltraFormattedTextEditor and UltraTextEditor) on my form.
I noticed that ultraFormattedtexteditor has "contextMenuItems" in its properties in the behaviour section.But its missing in ultraTextEditor.
Is there a reason for this ?
What is the difference between ultraFormattedTextEditor and ultraTextEditor controls ?
While typing in the both the controls, I see that the characters are bit shaky.Is this a bug ? Or I am missing anything ?
Please advice
- Manju
Manju,
Although both controls seem like simple editors, there is a vast difference between the two. WinTextEditor is a simple text editor, much like the in-box TextBox. WinFormattedTextEditor is more similar to the in-box RichTextBox, allowing you to style the text much like you would in HTML. To learn more about WinFormattedTextEditor, see the following topic.
http://help.infragistics.com/Help/NetAdvantage/NET/2008.1/CLR2.0/html/WinFormattedTextEditor_About_WinFormattedTextEditor.html
The documentation is pretty lengthy on WinFormattedTextEditor. As for the ContextMenuItems property, that allows you to add control-specific items to WinFormattedTextEditor such as Copy, Paste, Delete commands. You can also add formatting commands like Bold, Italic, and Underline. So you won't see this on the WinTextEditor control. For more information on the ContextMenuItems property, see this topic.
http://help.infragistics.com/Help/NetAdvantage/NET/2008.1/CLR2.0/html/WinFormattedTextEditor_Add_Items_to_WinFormattedTextEditors_Context_Menu.html
As for the shakiness while typing, is it because you are spell checking with WinSpellChecker? Maybe you could describe the shakiness a little more. I know that WinSpellChecker will add a red squiggly under misspelled words, so it's possible that the graphics are being affected.
Hi Chris,
Thanks so much for ur prompt reply.
I set the TextRendingMode property to GDI and it solves my problem of shakiness of the text.
Thanks much
- manju