Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining when a textbox has the focus
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00691459
Message ID:
00691889
Vues:
16
>Create a textbox class as follows:
>
>
>DEFINE CLASS txt AS Textbox
>
>  lHasFocus = .F.
>
>  PROCEDURE GotFocus()
>    This.lHasFocus = .T.
>  ENDPROC
>
>  PROCEDURE LostFocus()
>    This.lHasFocus = .F.
>  ENDPROC
>
>ENDDEFINE
>
>
Thanks, that would work too. A good exercise in creating properties.
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform