Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating Objects in a Class
Message
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00521809
Message ID:
00521817
Views:
13
Hi!
Where in class code you doing this? You can't do it before the object of class is created, i.e. in Init event.

>I have saved a form as a CLASS and in the CLASS I am doing the following:
>ThisForm.AddProperty("TestObject")
>ThisForm.TestObject = NewObject("Test","NewLibrary","TestApp.exe")
>
>When I Instantiate the New Class, via command window, the 'TestObject' is not there.
>
>I tested this out when it was a Form and it works fine. Am I missing something?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform