Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I hate _curobj!
Message
 
À
27/08/1998 16:05:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00130688
Message ID:
00130748
Vues:
28
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

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform