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
Titre:
CREATEOBJECT() Command
Divers
Thread ID:
00440743
Message ID:
00440743
Vues:
53
Why is it I can type frm=CREATEOBJECT("Form") in the VFP command window and have an object created, but when I put it in a PRG file and run it the object doesn't get created?

What I'm trying to do in a startup.prg file is:

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?

frustrated.

Thank you for your help.

Elgin
Elgin Rogers
Epic Solutions
www.epicsolutions.net
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform