Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Instantiation of an object
Message
 
 
À
02/12/2008 03:35:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01365028
Message ID:
01365099
Vues:
19
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform