Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving from one form to another form
Message
De
04/03/2003 11:17:51
Julie Ball
Gardner Publications, Inc.
Cincinnati, Ohio, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00732459
Message ID:
00760948
Vues:
23
and how do you call the from that is hiding back? On the FormX, I have a return button that I want to SHOW() the form1 - I have tried form1name.SHOW(), but that doesn't work. I can not 'DO FORM' because I want the form to have the data populated that was already ther.

>The problem is probably your use of modal forms. A better design might be to make the forms non-modal and modify your codes as follows:
>THISFORM.Hide()
>IF WEXIST('frmXName')
> frmXName.Show()
>ELSE
> DO FORM FormX
>ENDIF
>>Hello Foxperts,
>>
>>I've created a small app that has four forms with 'previous' and 'next' buttons to move between them. All the forms are WindowType=1-Modal. The Click event-method has the following code:
>>
>>ThisForm.Release
>>DO FORM fox3 && or 2 or 4 or 1, as applicable...
>>
>>however, the forms are not releasing when the buttons are clicked, and I end up with all the forms on the screen.
>>
>>Where have I gone wrong?
>>TIA,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform