Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CREATEOBJECT() Command
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00440743
Message ID:
00440746
Vues:
9
>SET CLASSLIB TO lcontainers
>frmSysParms=CREATEOBJECT("frmSys")
>
>Shouldn't that create an object named "frmSysParms" based on the
>class "frmSys" located in the lcontainers Class Library?

Yes, but there are two things you need to know.

1) Objects created with CREATEOBJECT() default to .Visible = .F., so you need a frmSysParms.Show().
2) As soon as that variable goes out of scope at the end of the procedure, your form goes away.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform