Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox dropdown width
Message
De
14/06/2013 02:58:25
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01576281
Message ID:
01576373
Vues:
47
>>Hi All,
>>
>>Forgotten - is there a way to set the max width of the dropdown list of a combobox?
>
>If you have only one column, I use a workaround:
>
>THIS.ColumnCount = 2
>THIS.ColumnWidths = TRANSFORM(THIS.Width) + ",0"

Hi Christian. It does reduce the width but not to match the ComboBox itself. See image attached.

I have forced it another way by reducing the field width to something more comparable to the ComboBox . It's a hack but it works good enough for purpose. Thanks
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform