Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Good reason to never use form methods
Message
From
26/09/2000 16:46:48
 
 
To
26/09/2000 14:48:15
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00415216
Message ID:
00421207
Views:
22
>I have one question for you. How did you handle things like "THISFORM...." reference from the prg file? Didn't you get and error message such as "Thisform can only be used within a method...."? or are you capturing the form object to a variable and reference that varible?

Yes, you will have to modify the code here. One option is to pass THISFORM to every function called from the form.

One point, is it possible that this code did not belong in the form anyways? Just thinking in tiers here. Maybe instead of putting code in PRGs, how about in a non-visual object's methods?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform