Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing method within a form...
Message
 
 
To
31/05/2003 20:50:27
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00794925
Message ID:
00794967
Views:
11
Luke,

>That's just it, I don't want to put anything anywhere else. I want to use what I have.

Then you are stuck instantiating the form and calling the method, which overall is a basically bad design.

Follow the advice the others have offered. Take the code from that method and move it to either a prg or another object. Then your form and your other code can easily reuse that code.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform