Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hot keys for buttons
Message
From
06/06/2002 14:06:20
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00665597
Message ID:
00665601
Views:
18
>Hi everybody,
>
>How can I find out, if button has a Hot Key (letter highlighted) and what's the value of it. Say, I have Cancel button with first letter highlighted. I added in my CancelValidation method of the form:

In VFP, hot keys are assigned with "\<". Can't you just check for "\<" $ .Caption?

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform