Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Non visual classes
Message
From
11/08/1999 17:38:56
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00252749
Message ID:
00252754
Views:
11
Hi Dan,

>However, now my main.prg will not execute passed this when I run it. Am I doing something wrong, or should I just be putting it someplace else?

Define class is like proc or function, when the program sees this it assumes the current one is over. So you place all your define classes at the end of your code, and call them with CreateObject:
wiat window 'Main.prg'
oObj=CREATEOBJECT('MyClass')
wait window 'End of Main.prg'

define class MyClas....

...enddefine
Previous
Reply
Map
View

Click here to load this message in the networking platform