Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return value from CreateObjecT('myForm')
Message
 
 
To
23/05/2005 08:09:31
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01016561
Message ID:
01017344
Views:
22
>Hi Christian
>
>You're absolutely right. That's why I have decided to drop forever DO FORM .... TO myVar. Instead, I'll use a parameter object all the time -- I even have added a oParameter property and ThisForm.oParameter = tcParObject in my base class. I guess this is a more modern approach anyway.
>

The paramater object should work fine.

What I do, in the called form, is to issue a:
     THISFORM.Hide() instead of THISFORM.Release()
Then in the calling code:
     1. Refer to the "calledForm".Properties.
     2. Issue a "calledForm".Release().
- Andy Rice
San Diego, CA
Previous
Reply
Map
View

Click here to load this message in the networking platform