Hi,
I have a windows requirement where I have to use a HTML Editor. In the Html editor I need to be able to hightlight several phraces that is contained in a String Array. Does IG have any code for this puspose. I would like to know how to the do the following in the Ultraformatedtexteditor.
1) Finding Text in the Box and selecting it.
2) Invoking the Highlight command with a given color.
oscarcab said:1) Finding Text in the Box and selecting it.
There's no search function built-in to the FormattedTextEditor. But you can, of course, examine the Value property, which is a string, and use any built-in DotNet functions that find strings within strings.
oscarcab said:2) Invoking the Highlight command with a given color.
To highlight some text, you would have to insert the proper tags into the Value of the control.