Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ActiveControl question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00130226
Message ID:
00130239
Vues:
15
>>>I used to use _curobj to get the identity of the current object. Now I'd like to use Activecontrol, but I don't know how. If I have a form-level onkey event that needs to know if and which field the user is in when they press that key, is ActiveControl what I should do? And what's the syntax?
>>>
>>>Thanks in advance,
>>>JR
>>
>>You better use Form.Keypress event (Form.Keypreview=.t.), e.g. try there
>>=messagebox(thisform.activecontrol.name)
>
>Exactly what I needed and none of what I didn't!!!
>
>You're a good man, Edward Pikman,
>
>JR

Thank You.
Did you assume that I will start lecturing about OO model and class polymorhpisms :)?
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform