Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Assigning methods(events) at runtime in VFP5?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Assigning methods(events) at runtime in VFP5?
Divers
Thread ID:
00204299
Message ID:
00204299
Vues:
56
Is there a way under VFP5 to assign an event procedure for a control on a form at runtime? Here is briefly what I am trying to do:

do case
case cType = "This"
.Etxt1.LostFocus = procA
case cType = "That"
*remove the method reference
.Etxt1.LostFocus = null
endcase
Derek Agar
Acctware Business Systems
derekagar@acctware.com
ICQ: 42332100

***********************
When in trouble call 911

He that dwelleth in the secret place
of the most High shall abide under
the shadow of the Almighty.
Psalm 91:1
***********************
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform