Solved

Winform Button text with underline

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

757 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now