Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I hate _curobj!
Message
 
To
27/08/1998 16:05:36
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00130688
Message ID:
00130748
Views:
27
If you absolutely must use On Key Label in VFP, you can determine the active control by using _screen.ActiveForm.ActiveControl. For example:

on key label f12 wait window _screen.ActiveForm.ActiveControl.Name

>>>Believe me, I would love to take all the necessary time to convert the app, but unfortunately I can't. Anybody else got any ideas?
>>
>>Joe,
>>
>>It would be alot easier to give you ideas if you could tell us exactly what you are doing, what you expect the result to be, and what you see instead of the expected result.
>
>
>Ok. Here's what I'm doing. I have a window with a bunch of radio buttons on it. The number of radio buttons is determined by what the user wishes to do. I allow the user to input with the mouse or keyboard. I'm using on key label to assign the appropraite value to the radio buttons.. In the on key label code I'm trying to use _cruobj to determine where the user is, so the program will know which code to execute. Is that enough? If not I can give more info.
kenweber
GCom2 Solutions
Microsoft Certified Professional

Previous
Reply
Map
View

Click here to load this message in the networking platform