Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stay on the same control when click the button!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01006656
Message ID:
01006686
Vues:
18
Hi Borislav,

It worked.


Thank you,
Ali

Thank you Glenne, but I already used Borislav's solution.



>Add a property in the form named oControl
>In When event of the button(s)
>
>IF VARTYPE(thisform.ActiveControl.Name) == "C"
>   thisform.oControl = thisform.ActiveControl
>ENDIF
>
>** In Click Event of the button (or method invoked by it)
>thisform.LockScreen = .t.
>IF VARTYPE(thisform.oControl) == "O"
>   thisform.oControl.SetFocus()
>ENDIF
>thisform.LockScreen = .f.
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform