In my form, I have four buttons that do different tasks. The
button.Text field is set as &Next Project, so the N will be underlined.
In the preview of the form, it shows up with the N underlined. Yet
when I run my program, the text shows up with no underlining. I have
checked and made sure that I am not changing the text value anywhere
else, so I am not sure what is wrong. Any help will be appricated.
Thanks.
Dave 6 10425
The underline is turn off by default in XP until you press the Alt Key. You
can change this behavior by opening the Display properties, on the
appearance tab click on effects and then uncheck the underline entry.
<df*****@teamaec.comwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...
In my form, I have four buttons that do different tasks. The
button.Text field is set as &Next Project, so the N will be underlined.
In the preview of the form, it shows up with the N underlined. Yet
when I run my program, the text shows up with no underlining. I have
checked and made sure that I am not changing the text value anywhere
else, so I am not sure what is wrong. Any help will be appricated.
Thanks.
Dave
"Mel" <Me************@insdirect.comwrote in message
news:uK****************@TK2MSFTNGP05.phx.gbl...
The underline is turn off by default in XP until you press the Alt Key.
You can change this behavior by opening the Display properties, on the
appearance tab click on effects and then uncheck the underline entry.
Is that true? Go to Start/Run, look at the Browse button. (Windows XP SP2).
I have that option currently checked and it still shows there.
--
Adam Clauss
In article <11**********************@i42g2000cwa.googlegroups .com>, df*****@teamaec.com says...
In my form, I have four buttons that do different tasks. The
button.Text field is set as &Next Project, so the N will be underlined.
In the preview of the form, it shows up with the N underlined. Yet
when I run my program, the text shows up with no underlining. I have
checked and made sure that I am not changing the text value anywhere
else, so I am not sure what is wrong. Any help will be appricated.
There's a desktop setting to "hide underline for hotkeys until user
presses ALT key". Perhaps that is turned on?
--
Patrick Steele http://weblogs.asp.net/psteele
Dave,
I created a quick test project and the same thing is happening to me.
Even when "UseMnemonic" is set to true, the letter is not underlined.
The mnemonic is still active and can be reached by pressing "shift" +
the mnemonic letter, and in the designer the underline is there, but
not when run.
For what it is worth I have found at least one other post with the same
problem here http://www.eggheadcafe.com/community...perty-for.aspx
I am starting to feel like this is a bug in .NET. Are you working in
1.0, 1.1, or 2.0. I am coding in VS2005 with .NET 2.0. If this is a bug
and you really need this feature it would be possible to hack it. Good
luck, if I find anything else I'll post it. df*****@teamaec.com wrote:
In my form, I have four buttons that do different tasks. The
button.Text field is set as &Next Project, so the N will be underlined.
In the preview of the form, it shows up with the N underlined. Yet
when I run my program, the text shows up with no underlining. I have
checked and made sure that I am not changing the text value anywhere
else, so I am not sure what is wrong. Any help will be appricated.
Thanks.
Dave
ok, so I took too long to write my post. I'm reading the ones above and
they are correct. When I press alt with my test app in focus the
mnemonic letter shows it's underline.
justin creasy wrote:
Dave,
I created a quick test project and the same thing is happening to me.
Even when "UseMnemonic" is set to true, the letter is not underlined.
The mnemonic is still active and can be reached by pressing "shift" +
the mnemonic letter, and in the designer the underline is there, but
not when run.
For what it is worth I have found at least one other post with the same
problem here
http://www.eggheadcafe.com/community...perty-for.aspx
I am starting to feel like this is a bug in .NET. Are you working in
1.0, 1.1, or 2.0. I am coding in VS2005 with .NET 2.0. If this is a bug
and you really need this feature it would be possible to hack it. Good
luck, if I find anything else I'll post it.
df*****@teamaec.com wrote:
In my form, I have four buttons that do different tasks. The
button.Text field is set as &Next Project, so the N will be underlined.
In the preview of the form, it shows up with the N underlined. Yet
when I run my program, the text shows up with no underlining. I have
checked and made sure that I am not changing the text value anywhere
else, so I am not sure what is wrong. Any help will be appricated.
Thanks.
Dave
I have them showing now, and I thank you all for the responses. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Scott Townsend |
last post by:
I have a form that I allow the user to use the ALT-S key to submit.
I'd like to have just the S in the Submit button underlined, Is this
possible?
Thanks,
Scott<-
|
by: VK |
last post by:
Given a code like this:
....
<!-- It's small letter "l", not number 1 -->
<label for="bCC" accesskey="l"> </label>
<input type="button" name="bCC" id="bCC"
value="Load" class="unboundButton"...
|
by: jmaxsherkimer |
last post by:
the site we're working on has some anchor links, you click them they
scroll to the bottom of the page with the answers to the questions
linked on to. is there anyway to make it so that the links...
|
by: cbielich |
last post by:
This is what I am asking
In many programs there are buttons that have a letter underlined, and
when pressing Alt & the underlined letter then you will activate that
button. For instance and...
|
by: ALok Gupta via .NET 247 |
last post by:
How do I do to underline a character in the property text of Button or Label ? I have to manage the AccessKeys. THANX
(Type your message here)
--------------------------------
From: ALok...
|
by: |
last post by:
Is there a way to REMOVE the underline within the
HyperLink button?
Thanks
Brian
|
by: Brent McIntyre |
last post by:
Good afternoon all,
I have a very basic problem, I am using the '&' symbol in
multiple textboxes to denote 'and', unfortunately the
computer doesn't understand this and keeps on underlining
the...
|
by: Niti |
last post by:
I have an external JS menu of links which get underlined on mouse over
as specified through CSS. But since I break the bulleted list of
link-lines myself, there is an extra space underlined at the...
|
by: DiMono |
last post by:
Consider this code:
<input type="button" value="u" style="text-decoration: underline;" />
With a complete doctype definition, Firefox will not render the underline, but IE will. With an...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
| |