Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automatic focus on a window
Message
De
01/09/2003 20:11:49
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00825144
Message ID:
00825146
Vues:
18
Hi Ionut,
>
>I have a code like this one:
>
>_screen.hide
>do form form1
>
>
>now form1 is a formset containing 2 forms. At every Activate event of a form there is a GetFocus api. Somehow this function doesen't work. If i eliminate the _screen.hide it works. Why?
>
try it:
_screen.visible = .F.
do form form1
read events
return

procedure yourformset.form1.activate  && <-- use it on your form1.activate method to send the focus for the properly window (i used form2 as sample)
show window (thisformset.form2.name) top
HTH

Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform