Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fire container, not control, events
Message
De
17/06/2011 17:23:22
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01514956
Message ID:
01515016
Vues:
60
>You could create a special container class and write some code in the INIT of this class:
>
>FOR EACH loControl IN THIS.Controls
>    BINDEVENT(loControl,"Click",THIS,"Click")
>    BINDEVENT(loControl,"Rightclick",THIS,"Rightclick")
>    BINDEVENT(loControl,"MouseMove",THIS,"MouseMove")
>    etc
>ENDFOR
>
And recurse that if the container contains a container, pageframe, grid or other object with member controls.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform