Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hot Keys and Labels - Click works but hotkey does not 2

Status
Not open for further replies.

ahaws

Programmer
Nov 28, 2001
355
US
Hi guys-
I have a form with labels that the user can click on to go to another form, etc. I wanted to use labels because I wanted it to look more like text that can be clicked on
(such as a hyperlink- buttons are too bulky). When I click the label, it fires and all is good. I have assigned the label as \<Case Number. However, When I load the form, I cannot press Alt + c to have the click event fire. There is no keypress event for a label either.
I also set this label in question as tab order = 1, still hot key doesn't fire the click event.
How do I hot key a label and get that hot key to work?

Thanks in Advance!
Angie
 
Hello again- thanks for the help.
I am using vfp 7.0 and I do not see keypreview as a property of my form. Help?

Thanks
Angie
 
Chris-
Had problems with the "alt + c" but just added "c" - nkeycode = 99 in and that worked.
Thanks so much
Angie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top