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:
01006737
Vues:
13
>Yes, whe you tabed there is no ActiveControl of the form in When event of the button. I see what you mean when you point to use TYPE() vs VARTYPE(). But I think there is no need to Set oLastActiveControl in the TextBox aftre all if you tabed to Button the Button is LastActive Control.

It depends on what behavior we want to achieve? If we want to always return back to the original control regardless of how we accessed the button (via mouse, keyboard (hot keys or Tab)) when we need to save it in textbox and not in button's when.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform