Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing parameter to form
Message
De
07/08/1999 10:29:21
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00250894
Message ID:
00251068
Vues:
11
Hi Jane,

>Thanks for the help. It still isn't working right. Yes, the called form is modal. In the Unload I RETURN the value. The form now is closing but the calling form is not appearing. It is minimized & has to be re-opened (not acceptable). Also, the value isn't getting passed back. I have an OK button on the called form. In the click of OK I have a RETURN thisform.myProperty and a THISFORM.RELEASE if the password is correct. I also put a MESSAGEBOX there so I would know the password is correct. The message appears but when it checks in the main program the message is that the password is incorrect. What have I done wrong?

Are you still using the same variable names for both the parameter and return Value? You might try different ones. Also, are you sure your doing:
return thisform.myProp
In the unload of the form and not of a button or label (misclicks slow me down about ;-). Also, are you setting myProp in the unload from a control. You must remeber that by the time the form hits unload, all the controls have been destroyed.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform