Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox dropdown width
Message
De
13/06/2013 14:36:44
 
 
À
13/06/2013 14:14:40
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:
01576330
Vues:
40
>>>>>>>>>Hi All,
>>>>>>>>>
>>>>>>>>>Forgotten - is there a way to set the max width of the dropdown list of a combobox?
>>>>>>>>
>>>>>>>>ColumnWidths
>>>>>>>
>>>>>>>Hi Borislav, i tried that but it didnt work. My row source is wide and extends beyond my ColumnWidths value. Do I need to set something else?
>>>>>>
>>>>>>How many columns you have and what width you want :-)
>>>>>
>>>>>1 column, 300 pixels which is the same as the combobox itself.
>>>>
>>>>What happens when you set ColumnWidths to 300?
>>>
>>>The same as if I leave it empty - the dropdown list extends far to the right (reflecting the underlying 120 character field to which it is bound).
>>
>>You want it smaller or wider?
>>BTW you should set Columns to 1 also :-)
>
>I would like the dropdown area to be the same width as the combobox itself i.e. 300 pixels.


Jos, if you would, in your Init() event, execute the method this.SaveAsClass() and save it to some name, ZIP it up and add as an attachment so we can look at it.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform