Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Another try, classes
Message
From
30/06/2004 19:57:18
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00919427
Message ID:
00919444
Views:
14
>How can I prevent the hello class from executing in line 2?
>SET CLASSLIB TO C:\page0\pager && line 1
>oPager = newOBJECT("hello") && line 2
>oPager.init && line 3
>
>Thanks
>Steve

You don't need to call the .Init() code at all, it will automatically happen when you do the CREATEOBJECT() (or NEWOBJECT() commands), that's when your class is instanciated (inited).
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform