Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Highlighting searched words in a EditBox Control
Message
 
 
To
04/05/2004 15:19:32
Arlei Silva
Chevron Oronite Brasil Ltda.
Capuava, Brazil
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00900896
Message ID:
00901004
Views:
16
Arlei,

You are right the Sel* properties can only highlight one thing.

If you can do a display only representation, you can render the text into HTML and hilighting the occurances with some markup, and then display it in an instance of the webbrowser ActiveX.

>We have a search feature on some of our application that allows the user to search the content of a memo field.
>I works OK, but instead of show the memo field content on a EditBox, we would like to add a feature that shows the keywords found in that EditBox highlighted.
>I would like also to highlight all occurrences found (so using SelStart and SelLength properties will not work, I think).
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform