Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to force a droplist drop
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
How to force a droplist drop
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01025595
Message ID:
01025595
Vues:
58
Hi,

I have a button and a dropdown list in a container. The button is visible and the list is positioned at Top= -10, Left = -10. On button.click I'd like the list to drop and getfocus, so I have this in the button click event:
This.Parent.lbxOptions.SetFocus()
KEYBOARD '{SPACEBAR}'
It all works, except that the list highlight does not react to mouse move. I assume it has to do with the KEYBOARD '{SPACEBAR}' command (?).
Could anyone suggest a different way of making the list drop and at the same time react to mouse movements?

TIA
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform