Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Activating a form on a formset
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00137174
Message ID:
00137243
Vues:
13
>How can a form be activated in a formset.
>
>i tried using thisform.parent.form.ojbect1.setfocus but it doesn't work.
>
>
>TIA

Alvin, you are supposed to use Form.Show() method
Say, on first form you have a button which has to bring forward Form2 in the formset:

**cmdShowForm2.Click()
thisformset.form2.show()
* or this.parent.parent.form2.show()
***********************

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform