Subject Re: [IBO] row width of ComboBox
Author Helen Borrie (TeamIBO)
At 05:54 PM 27-04-02 -0300, Ronaldo Rezende wrote:
> How can I change the width of the column
>of the LoockupCombo? Is there a way to put it in autosize mode?

The IB_ controls follow the attributes which you set on the dataset
columns. So, for example, the drop-down width of the combo box is the
result of the combined FieldsDisplayWidth properties you set for the
columns displayed in the drop-down.

If you embed the combobox in a grid, the editbox portion of the control
will automatically size to fit the grid column.

If it isn't embedded, you can play around with its width in a variety of
ways...just set its Width property (in the IDE and/or in your code) with
AutoSize false; or adjust the FieldsDisplayWidth of the column you are
displaying in the DisplayField property and set Autosize true. Generally,
letting the FieldsDisplayWidth control the size is the most efficient.

Helen Borrie (TeamIBO Support)

** Please don't email your support questions privately **
Ask on the list and everyone benefits
Don't forget the IB Objects online FAQ - link from any page at