Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I made a cBizObjMaintenanceForm MODAL. Comments?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00407052
Message ID:
00407131
Vues:
23
>no ick.. just a "huh??"

After spending 2.5 hours tracking a cryptic "error 12" to a fieldname that changed at the table level but never made it to the $#*($ view, your lack of "ick" is rather refreshing! ;-)

>Why can't you get it to return a value? All you should have to do is store the return value to Thisform.uretVal and the frmaework handling does the rest as per docs?

Because of the way doform() works. If the form being instantiated is not modal, doform doesn't stop at the loObject.show() statement (which displays the form) but keeps on going. Then when doform issues the return, the loObject (the form being shown), which was assigned to a local variable simply vanishes in mid air, which does a number of funny things to vfp.

Of course, I could also instantiate my form through code in the calling form (i.e. lonewform = createobject(...)).

I guess I would just create a new property called ThisForm.loNewForm and assign the called form to it, right?

Thanks to the latest icknami I'm kinda wary now if things work under certain circumstances.

Thanks!
Low-carb diet not working? Try the Low-food diet instead!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform