Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Global position of control in _Screen/Toplevel form
Message
De
07/06/2005 11:05:35
 
 
À
07/06/2005 10:49:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01020751
Message ID:
01020945
Vues:
18
Fabio,

>careful, the race ends soon against a bug.
>
>Run this,
>- press GO
>- click on 2th TextBox
>- click on 1th TextBox
>*** GAME OVER ****

Thanks for pointing that out. In going back to my original notes I encountered other problems as well.

So ... it appears that the best (most reliable) way to set keyboard focus to a toolbar textbox/dropdown is to MOUSE CLICK AT on the control you want to give focus to. I haven't had any problems with this technique other than how ugly this solution looks in code.

Gratze,
Malcolm
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform