[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Winform Button text with underline

Posted on 2007-11-14
2
Medium Priority
?
649 Views
Last Modified: 2013-12-17
I have buttton text as ACTION . I want to make letter C underlined. Is it possible to dynamically do it
on form load.
0
Comment
Question by:AdibRahman77
  • 2
2 Comments
 
LVL 27

Accepted Solution

by:
VBRocks earned 1500 total points
ID: 20284292
Well, just enter the text as:  A&CTION

or on Form load:
Button.Text = "A&CTION"

0
 
LVL 27

Expert Comment

by:VBRocks
ID: 20284315
Just as a note:  the underline will appear when the Alt key is pressed.

Also, make sure you have the UseMnemonic property for the button set to True.

0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

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…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
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…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

873 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