Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CREATEOBJECT() Command
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00440743
Message ID:
00440759
Views:
13
Hi Elgin
I think you need to put MY_Form.Show() and READ EVENTS in the form or in the .prg

HTH
Ariel Gimenez
>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

Ariel Gimenez

our power is our knowledge

Previous
Reply
Map
View

Click here to load this message in the networking platform