Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trouble with Switching Focus
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00344865
Message ID:
00345065
Vues:
29
>Hi Marcia,
>
>Thanks for writing. The trouble I am faced with is that I want to set the focus to another control when a selection is made in a combo box. Moving the SetFocus() to the LostFocus() of the combo box would mean that the other control won't be activated until after the user moves out of the combo box.
>
>In other words, I have several options in a combo box from which to choose. When a selection is clicked, I want another control to immediately get focus, depending on what was selected. This would mean I would need to control the transition somehow from the Valid() event. Otherwise, the other control won't get focus until after the user leaves the combo box, which could be confusing.
>


Put your code in the ComboBox.InteractiveChange method.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform