Giving Buttons Access Characters

lambuhere1

Registered User.
Local time
Today, 21:54
Joined
Nov 19, 2001
Messages
28
Hi

I am trying to give access characters to my buttons. This I am doing by including & character in the caption property of the button. But this doesnt work. Whenever I press Alt and the access character, the buttons do not get activated. I am trying to simulate the working of my buttons when the mouse pad is not working or is not available.


Thanks a lot for your help.

Ram P
 
hmmm,

make sure that you don't have a space between the & and the desired activation character.

hth,
al
 
Hi

Thanks for your reply.

Theres no space between ampersand and the character. Even then, it doesnt work.

Regards

Ram P
 
never heard of any problems like this...

is the desired character underlined in form view? this. are the menu items shorcuts functional? (Atl+f activates the file dropdown). does the Tab key cycle thru the command buttons?


al
 
Hi

The menu shortcuts are working fine. Desired characters are underlined. But I don't know why its not happening? When I press the command button its activated. But when I use the ahorcut ket it doesnt.

For Example.

I have a command Button1. I put the accelerator as u and put a ampersand before u in the caption. Then when I want the command button1 to be activated, I press Alt + u. It doesnt get activated.

Thanks a lot for your patience.

Ram P
 
Just a shot, but do you by chance have the shortcut keys disabled in your database startup options?
 
Hi

Thanks a lot for giving it a shot. I am using NT 4.0 and I am on the server. I do not know if the shortcut keys are disabled. By the way, how do I check that?

Assume that the shortcut keys are disabled, then how come my menu controls are working ?

Regards

Ram P
 
i guess that it's possible that your form is corrupted in some mystery manner. you might try creating a new form and putting a command button on it and see if the behaviour persists.

btw: what version of access are you using?

al




[This message has been edited by pcs (edited 11-30-2001).]
 
Hi

The problem still persists after I make a new form and command buttons with shortcut keys...

I forgot to tell you. I am on NT 4.0 Xl 97 SR2.

Thanks for your time.

Ram P
 
a long shot...
are you using any (keyboard) language settings on the pc in question?

al
 
Short Reply.

No I am not. I am trying to use some VBA. thats all.

Ram P
 
only other thing i can think of:

do you have any other forms that are set to disabled (or hidden) when you problem form is active? you might also see if your db works ok another pc...

otherwise, i give up!
smile.gif


al
 
Hi

I have no other forms that are disabled. This is the only form on hand.

Anyway thanks a lot for your time and effort. :-)

Ram P
 
oh my...something just caught my eye!

--------you wrote---------
I forgot to tell you. I am on NT 4.0 Xl 97 SR2.
--------------------------

we're not by any chance talking about a dialogue box or form in an excel spreadsheet are we????
frown.gif



al
 
Hi

We are talking about the same thing. Now you got it.

Ram P
 
ok...i was talking about an MS Access form.

you need an Excel expert to step up to the plate
smile.gif


takers?

(you might want to re-post your original question in the Excel forum)

al


[This message has been edited by pcs (edited 12-03-2001).]
 
Change the caption of the button back to normal (ie remove the ampersand). In the properties of the butto, there is an entry called accelerator. Type in the letter that you want to use. If the letter is part of the caption, then that letter will be automaticaly underlined when the form is displayed.


HTH
 
Vow.

Thanks a lot for your help.

It was tiresome. Sorry to trouble you a lot.

Ram P
 

Users who are viewing this thread

Back
Top Bottom