Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing parameter to form
Message
De
07/08/1999 19:34:56
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00250894
Message ID:
00251173
Vues:
10
No the RETURN thisform.value has to go in the called form's Unload() method.

If your form is modal AND your modal form has a RETURN thisform.value in the Unload() method, then it will return. Is there any chance the return value is empty and so therefore it *looks* like nothing is getting passed back?

In the Unload(), right before the RETURN, try putting a SET STEP ON. You'll get the debugger up, and you can check the return value, and you'll make sure that it is hitting the line you think it is hitting.

This is an SCX that you are doing, right? The technique you'd want to use if it's a form class is a bit different.

>In my called form, I want the user to type in a password. If the password is correct, I'd like the form to be closed. I tried to do this by putting code in the click method of the text box (RETURN THISFORM.value and THISFORM.RELEASE())but it doesn't do anything. I then added an OK command button with the same code. The form does close but the value is not passed back. Please help.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform