Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Instantiation of an object
Message
 
 
To
02/12/2008 03:35:09
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
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:
01365099
Views:
18
If you have reference to the form stored in your object than some of the methods (Load and Init in particular, plus DE if present) ran already. The SHOW() would be correct method to make form visible and active.

>
>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
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform