Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
NEWOBJECT() function vs NewObject() method
Message
From
16/02/2011 06:39:22
 
 
To
16/02/2011 06:35:56
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01500348
Message ID:
01500352
Views:
54
Thanks Tore!

Dennis

>AFAIK know the statements are interchangeable, but for the first one to work myProperty must already exist.
>
>>Dear Experts,
>>
>>This.myProperty = NEWOBJECT( "myClass", "myClassLib" )
>>&& ...and...
>>This.NewObject( "myProperty", "myClass", "myClassLib" )
>>
>>
>>Are the two statements above same? If not, how are they different? Can they be used interchangeably?
>>
>>Thanks
>>Dennis
Previous
Reply
Map
View

Click here to load this message in the networking platform