Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with releasing forms
Message
 
 
À
05/11/2003 23:17:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00846922
Message ID:
00846944
Vues:
29
>i have form2 that shows on top of form1. if my user clicks the "ok" button in form2, i want form1 and form2 to be released and show form3.
>
>i have this,
>
>
>thisform.release
>_screen.activeform.release
>if _screen.activeform.caption="form1"
>    messagebox ("form1")
>endif
>if _screen.activeform.caption="form2"
>    messagebox ("form2")
>endif
>do form form3
>
>
>thisform.release is supposed to release form2 and _screen.activeform.release is supposed to release form1. the code that follows is only to check what form is still active.
>
>why am i getting the messagebox form2 instead of do form form3?

Hi.
I can't tell you why this happens.
But i would suggest releasing form1 and form 2 explicitely and the DO form3.
Kamil
A moment of silence is our cosmic reset button.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform