473,324 Members | 2,581 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

AccessKey in a Button !

Hi!
I put an & to make an AccessKey in the text property of a Button in MyForm
using the & before the first letter of the text, for example &Spin. I see in
the design mode the S underlined but not in the runtime. Nevertheless the
button is working well when I press the S key! Any suggestion?

Ioannis

Mar 25 '07 #1
3 5603
"Ioannis Stefis" <st*****@otenet.grschrieb:
I put an & to make an AccessKey in the text property of a Button in MyForm
using the & before the first letter of the text, for example &Spin. I see
in
the design mode the S underlined but not in the runtime. Nevertheless the
button is working well when I press the S key! Any suggestion?
This behavior is by design starting with Windows 2000.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Mar 25 '07 #2
>I put an & to make an AccessKey in the text property of a Button in
>MyForm
using the & before the first letter of the text, for example &Spin. I
see
in
the design mode the S underlined but not in the runtime. Nevertheless
the
button is working well when I press the S key! Any suggestion?
This behavior is by design starting with Windows 2000.

Yeah there is a windows setting to change this.

Right click desktop
Properties
Appearance
Effects

Hide ....[something or other] unless ALT is pressed.

by default you need to press ALT to show the underlines

Rory
Mar 25 '07 #3
Ioannis,

At least with Windows XP there is an option to hide the underlined letters
until the user presses the Alt key.

This setting can be found here:

Display Properties | Appearance | Effects

Hide underlined letters for keyboard navigation until I press the Alt key

Kerry Moorman
"Ioannis Stefis" wrote:
Hi!
I put an & to make an AccessKey in the text property of a Button in MyForm
using the & before the first letter of the text, for example &Spin. I see in
the design mode the S underlined but not in the runtime. Nevertheless the
button is working well when I press the S key! Any suggestion?

Ioannis

Mar 28 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Alex Billerey | last post by:
Hi folks, Not sure that syntax is the right term but anyway... I'm currently working a a new section of a website and I want to make it as accessible as possible - hence the accesskey. On each...
3
by: Jim | last post by:
Hi, How can one put an accesskey on a Select (Drop down box) in a form using XHTML 1.0? It won¢t validate as follows: <select accesskey="r" tabindex="3" name="state" size="1"> I can put an...
1
by: Manan | last post by:
hi All, I'm using a web application. On my .aspx pages I want to add shortcut keying option to textbox, dropdown, and button. I know i can use AccessKey to add shortcuts but I'm having problem...
0
by: david cheng | last post by:
I am trying to load the pdf document through AccessKey. Here is the code <HTML> <body bottomMargin="0" bgColor="gray" leftMargin="0" topMargin="0" rightMargin="0"> <form id="Form1"...
1
by: Andre | last post by:
I've set up the accessKey for my Submit button to 'S'. The usual Windows method for letting the user know would be to underline the 'S' in Submit on the button text. How do I do this in the Text...
1
by: Csaba Gabor | last post by:
Short version: if the user types an alt+ctrl+char combination which leads to a defined character, but s/he's not in a input(text)/textarea, then I'd like that keystroke combination to do the same...
0
by: douha | last post by:
Hi all, I have been assigned to write functions in javascript that will invoke an objects accesskey. For example, I have the following html code: <td class="BtnActn"> <div id="DocUndo"...
5
by: Lea GRIS | last post by:
Hello, Are there any generic and CSS standard mean of highlighting an accesskey? I only fond a workaround by encapsulating the corresponding letter in a <em></eminside the label. But it is not...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.