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:
01107538
Vues:
18
>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 
Dawa Tsering


"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."

- Ephesians 4:29-30 NIV

Dare to Question -- Care to Answer

Time is like water in a sponge, as long as you are willing you can always squeeze some.

--Lu Xun, Father of Modern Chinese Literature

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform