Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Binding to _Screen.ActiveForm
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01107535
Message ID:
01107543
Vues:
20
You can BINDEVENT to a property, it acts like an access method.

>
>>BINDEVENT(_vfp,"ActiveForm",o,"HandleEvent")
>
>
>Tamar,
>
>ActiveForm is not an event.
>
>Try this one:
>
>o=CREATEOBJECT("TestBind")
>o1=CREATEOBJECT("form")
>o1.Name = "FirstForm"
>o1.Caption = "First"
>o1.Show()
>
>o2=CREATEOBJECT("Form")
>o2.Name = "SecondForm"
>o2.Caption = "Second"
>o2.show()
>
>FOR EACH oform IN _screen.Forms
>	BINDEVENT(m.oform,"Activate",o,"HandleEvent")
>NEXT
>
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform