Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set all Gotfocus and LostFocus to
Message
De
30/03/2005 11:52:00
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Novell 5.x
Database:
Visual FoxPro
Divers
Thread ID:
00999921
Message ID:
00999968
Vues:
40
Frank,

Your AEVENTS() technique is MUCH better than my ActiveForm.ActiveControl technique. My example will fail if the redirected event is not based on an active control. I had forgotten about AEVENTS(). Thanks for pointing that out!

Malcolm

>>local loThis
>>loThis = _screen.activeform.activecontrol
>>
>>Use this loThis variable to reference the control whose event got redirected to your form level method.
>
>Personally I use something like this:
>
>
>LOCAL loThis, laEvents[1]
>AEVENTS(laEvents,0)
>loThis = laEvents[1]
>
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform