Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
480
Need some help using the UltraFormatedTextEditor.
posted

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.

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    Hi,

    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.

Children
No Data