Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Network:
Windows 2008 Server
>>>>>>>>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement