Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need advice auto opening combox - dropdown list
Message
From
09/02/2004 06:00:45
 
 
To
09/02/2004 05:09:53
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00875368
Message ID:
00875375
Views:
16
Hi Vim,

Try with this.keypress(13) in the click method. Does that do the trick?

>I have a VFP 8.0 form that has tens of dropdown lists. each dropdown list typically has 5 to 10 choices. the client wants each list to auto open when a user either clicks on the combo box or if the user tabs to it.
>
>so i put in this code in the GOTFOCUS event of each combo box:
>KEYBOARD '{ALT+DNARROW}'
>
>however the results are not quite what i expected. as i TAB through the form each drop down list automatically opens. however if I click on a particular drop down list, it flashes and does not display the list of choices. only a second click opens the drop down list as expected.
>
>thanks,
>
>vim
Previous
Reply
Map
View

Click here to load this message in the networking platform