Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Winform Button Text UnderLine

Posted on 2007-11-30
1
Medium Priority
?
1,088 Views
Last Modified: 2013-12-16
I have buttton text as ACTION . I want to make letter C underlined. Is it possible to dynamically do it
on form load.
Well I found the answer that setting "&" before the letter works(  A&CTION ).

But the user has to press the ALT for the letter to be shown underline. Is there any other solution or work around?
0
Comment
Question by:AdibRahman77
1 Comment
 
LVL 21

Accepted Solution

by:
surajguptha earned 1500 total points
ID: 20383253
Check this discussion
http://www.msnewsgroups.net/group/microsoft.public.dotnet.languages.csharp/topic31837.aspx

It has information about disabling the show on ALT
0

Featured Post

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Screencast - Getting to Know the Pipeline
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question