Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to force a droplist drop
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How to force a droplist drop
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01025595
Message ID:
01025595
Views:
57
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
Next
Reply
Map
View

Click here to load this message in the networking platform