Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Instantiation of an object
Message
From
02/12/2008 03:35:09
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Instantiation of an object
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01365028
Message ID:
01365028
Views:
59
Hi

Here's a quick question regarding class library instantiation. I have a class library called MyClass.vcx, which has several objects within it (including forms) - I use the command goMyClass = createobject('MyClass') to instantiate the object, but the question is this:

When using the reference to show forms within the class library, which is the correct method to fire so that the form runs as though it were being run in standalone, i.e. all the methods are run in the correct order. As an example, I use =goMyClass.myForm.Show(), but is this the correct method to use?

Regards
Next
Reply
Map
View

Click here to load this message in the networking platform