Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving from one form to another form
Message
 
 
À
04/03/2003 14:06:02
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:
00761085
Vues:
19
>Form 1 (frmPFDMain): Button that calls the second form:
>
> SELECT pfdaddr
> recsave = RECNO()
>
> THISFORM.Hide()
> IF WEXIST('frmAddList')
> frmAddList.Show()
> ELSE
> DO FORM pfd_addlist
> ENDIF
>
>Form 2 (frmAddList): Button that calls for the Form 1 to return:
> THISFORM.Hide()
> frmPFDMain.Show()
>
>One thing though, Form 1 (frmPFDMain) is part of a form set (frsPFDAddr) but form 2 is not part of that form set. Does that matter?

It could when trying to show Form1 again, but I do not think it would be a problem showing Form2. I do not use formsets and you will not find many who would recommend their use. To show Form1, you may have to use frmSetName.frmForm1Name.Show() but this is a guess since I do not use sets.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform