Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exiting formset prematurely
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Exiting formset prematurely
Divers
Thread ID:
00066536
Message ID:
00066536
Vues:
65
I've got a form set with form1 and form2 within it.

By default .visible of form2 is .F. so that I automatically only see form1 when I go into the formset.

On form1 I have a button which does "Thisformset.form2.visible = .T."

Then I can see form2 on top of form1 and do what I want to do to it...

Two wierd things are happening:
1) .windowtype is MODAL on form1 AND form2, .alwaysontop is even set to .T. on form2. So how come I can
click into fields on form1!!! (Form1 doesn't come forward, but I can put my cursor in a form1 field!!)
That should happen, should it? I don't want it to!

2) I have a button on form2 I use when I'm done with it. It sets thisformset.form2.visible=.F., just like the manual say and yet, the WHOEL FORMSET disappears! (form1 and form2)
What's up?

How can I smoothly transition back and forth between forms in a formset, while making sure they're mutually exclusive (Ie: MODAL)

Thanx a bunch!
Independant Foxpro Developer
Spring Hill, FL
jpirola@tampabay.rr.com
352/686-8373
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform