Announcement

Collapse
No announcement yet.

How to search and highlight contents of a rich text

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to search and highlight contents of a rich text

    I 'd like to include a search functionality in my project that searches contents of a RichText object using text typed into an Imput object then highlights the search results with a certain color such as red in the RichText object when a button is clicked.

    The functionality consist of an Imput object, (search) button and RichText object.

    Please help.

  • #2
    This can be done easily using RichText.FindText, RichText.SetSelection and RichText.SetSelectionFormat. Its all in the help guide

    Comment


    • #3
      Thanks a lot, Hobbs.

      Comment

      Working...
      X