Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing default behavior of ComboBox
Message
De
04/09/2008 13:19:57
 
 
À
04/09/2008 12:51:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01344846
Message ID:
01344879
Vues:
21
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform