Click here to Skip to main content
15,116,654 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have a collapsed in which the data is coming from database and dynamic label are being created inside a loop i want to highlight the word which are in collapsed panel which matches with the textbox...????

1 solution

If it's collapsed, how can you highlight anything ? A label has one font only, so you'd have to owner draw your text to draw it in parts that include different formats, OR you can use a rich text box and set it up so it cannot be edited.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900