Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Assigning methods(events) at runtime in VFP5?
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Assigning methods(events) at runtime in VFP5?
Miscellaneous
Thread ID:
00204299
Message ID:
00204299
Views:
57
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
***********************
Next
Reply
Map
View

Click here to load this message in the networking platform