Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windowstate not working
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01646560
Message ID:
01646636
Vues:
70
I tested the problem you pointed with setfocus...

1.in form.init if you write:
thisform.text1.setfocus && Assigns the focus to a control.
thisform.windowstate=2  && or set at design time
this works as well

2.but if you inverse
thisform.windowstate=2 && or set at design time
thisform.text1.setfocus
the form dont maximize and set the focus to the control !

3.better way is to set your focus in form.activate event.that works.
form.init
thisform.windowstate=2 && or set at design time

form.activate
thisform.text1.setfocus
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform