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:
00440746
Views:
12
>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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform