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
Miscellaneous
Thread ID:
00204299
Message ID:
00204308
Views:
14
Thanks for the quick response.
I assume by your reply that the answer is no.
I guess that I will have to do a work around like what you mentioned. The situation is that there are 10 different fields that I use for measurements, so I have 10 text boxes and corresponding labels. The problem is that there are 6 different types that use only certain measurement fields and they are not consistant about the order in which they appear. What I had done was to assign the controlsource, caption and visible properties based upon what the type is for each record. The problem is that for some of the measurements there needs to be code attached to the lostfocus event of the corresponding control.
So... If I need to stick with this way of doing things, I need to create identical lostfocus events for the text boxes that test to see what the controlsource is for that text box and carry out the code if need be.
Thanks,
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
***********************
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform