Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return value from CreateObjecT('myForm')
Message
 
 
À
23/05/2005 08:09:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01016561
Message ID:
01017344
Vues:
23
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform