Click here to Skip to main content
16,019,983 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear friends,

I want to change the forecolor of specific character of a button text, such that the specific character gets highlighted with different color. I know this is very easy in asp.net but I don't know how to do this in VB.Net.

Someone please help me...
The button should be highlighted like this as below in the text Code Project where letter C is highlighted in red color.

Code Project
Posted
Updated 15-May-12 19:20pm
v2
Comments
[no name] 15-May-12 14:11pm    
It is considered rude here to ask for quick response, or urgent, or ASAP, or any variation of this.

This is a volunteer site and people will answer on their time, not yours

1 solution

Using a standard button control you would need to handle the Paint[^] event to apply the style you would like.
 
Share this answer
 

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