Subject RE: [IBO] Re: IB_ComboBox - csDropDownList: setting the width of the dropdown list.
Author Adrian Wreyford
No I hoped I was clear enough.



The IB_comboBox.width := 85

IB_ComboBox.style := csDropDownList



Now .. I need the dropdownlists width to be eg. 155.

I this now clear?



Adrian







-----Original Message-----
From: Svein Erling Tysvær [mailto:svein.erling.tysvaer@...]
Sent: 17 January 2005 10:50 AM
To: IBObjects@yahoogroups.com
Subject: [IBO] Re: IB_ComboBox - csDropDownList: setting the width of the
dropdown list.




Hi Adrian!

> How do I set the width of the dropdownlist, for the IB_ComboBox. You
> can set the width for the IB_ComboBox, but the dropdownlist
> truncates the display data.
>
> I'm storing an integer, but displaying text.
>
> Please is it at all possible to set the width of the drop down list.

Do you want the width of the dropdownlist to be wider than the width
of the IB_Combobox or have you simply not set the property Style to
csDropDownList? I don't think the first make much sense, and if the
latter - I'm impressed that you managed to write the solution in the
subject field of your question!

HTH,
Set





[Non-text portions of this message have been removed]