Solved

Winform Button text with underline

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

813 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

14 Experts available now in Live!

Get 1:1 Help Now