Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing default behavior of ComboBox
Message
From
04/09/2008 13:19:57
 
 
To
04/09/2008 12:51:11
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01344846
Message ID:
01344879
Views:
20
>>Hi all
>>
>>When we click or press spacebar the default behavior of a combobox is downward. How could it be changed to upward?
>>
>>Thanks.
>
>It can not, you have to build your own.

A default dropdown combo does drop "up", if it's at or near the bottom of your Windows desktop. Being at or near the bottom of the main VFP window is not sufficient - if you're running VFP less than full screen and its main window is not near the bottom of the desktop, the combo will drop down outside the main VFP window.

Makes me wonder if an ugly hack is possible:

- move bottom of main VFP window to bottom of desktop, if not already there
- move form within VFP main window so that combo is at bottom of VFP window
- activate the dropdown
- move the form and VFP window back as required
- use .LockScreen as required or to make things less ugly? < g >
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform