Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo box opening mid list
Message
From
14/10/2010 10:12:14
 
 
To
14/10/2010 10:08:57
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01485471
Message ID:
01485474
Views:
39
>>In a combo box with RowSourceType set to 5 (array), array sorted in a user-specified order, not necessarily alphabetical, bound to a data field; when opened on an empty data field is there any way to force the list to open at the top of the list instead of the middle or bottom as it sometimes does now?
>
>Not tested, but I guess you can add some conditional code to GotFocus, like
>If empty(yourfield)
>   KEYBOARD "{Home}" PLAIN CLEAR 
>endif
Worth a try. Thanks, Tore.
Ray Roper
Previous
Reply
Map
View

Click here to load this message in the networking platform