Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DO FORM VS CREATEOBJECT()
Message
From
14/05/2001 11:38:40
 
 
To
14/05/2001 11:03:39
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00506819
Message ID:
00506849
Views:
15
Thanks Craig.
I wanted to make sure.
I've heard from other programmers (not on UT) that CREATEOBJECT instantiates faster but, I never could tell the difference.

Thanks again.

Thanks Nadya


>>Hi all.
>>
>>I noticed on some apps. programmer prefer to launch their forms using oMyForm=CREATEOBJECT("myFrmClass") and some prefer to create a form and launch it by issuing "DO FORM myFormName".
>>
>>Are there any advantage(s) of either method?
>>
>>Thanks abunch.


>Using a class (CREATEOBJECT) doesn't have a data environment, so you need to create one programmatically. I >prefer DO FORM.
Work as if you don't need money
Love as if you've never been hurt before
Live as if this is your last day to live
Dance as if no one's watching
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform