Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SETFOCUS() in lost focus event.
Message
De
21/06/1999 10:45:19
Fabian Valencia
Calamos Asset Managment Inc.
Naperville, Illinois, États-Unis
 
 
À
06/06/1999 22:10:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00226954
Message ID:
00232118
Vues:
16
>Am I going crazy here.
>
>If you put a THIS.setfocus() call in the lost focus event of a dropdown/combobox, should that not force the combobox to keep regain focus ?
>
>At the moment it is not ... and I'm sure I have tried this before.
>
>Any comments or suggestions?

Well, I don't know why the combobox does not get the focus when trying the setfocus method, but you can try the valid method, if you don't wan't the user to get out of the combobox, return 0, that won't give you an error and will keep the user until the right conditions are met and return .t. happens.

Hope this helps.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform