Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AddObject
Message
 
To
06/02/2006 15:11:14
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01094071
Message ID:
01094095
Views:
15
>>>>>When I use AddObject I have to provide a class for a new object. Can it be a class from a different vcx?
>>>>>
>>>>>Thanks
>>>>
>>>>Use NewObject in stead!
>>>And how NewObject adds an object to the form's object colleciton?
>>
>>
>>Not function, method.
>>The same way as AddObject :o)
>>thisform.NewObject("objName", [ClassName], [MyOtherClassLib.VCX])
>
>Function/method... Whatever...!
>
>Kidding aside, thanks for the corrections.

No correction. When I first read the question my first thought was about NewObject() function, but when I read Mark's answer I realise that He wants to add a new object in a form :o)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform