Solved

Winform Button text with underline

Posted on 2007-11-14
2
627 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 500 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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

839 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