Subject Re: [IBO] TIB_ComboBox dropped on a TIB_Grid
Author Lucas Franzen
mirco@... schrieb:
>
> I'm trying to use the TIB_ComboBox (not TIB_LookupCombo) on a grid
> for inplace editing.
> The combo should work on a text field (e.g. something like "TITLE"),
> so that the user can either enter free text or select from a list of
> predefined values (e.g. "MR.", "MRS.", etc). The text choosen should
> go into the field directly (i.e. there is no name->code mapping).
>
> Dropping a combo on the form and binding it to the text field works
> nice. I provided the available entries as 'Items' to the combo and
> left 'ItemValues' empty.
> The result is that I can enter and select any value, but the grid
> does not display them unless the combobox is active.
>
> I also tried to provide 'ItemValues' identical to 'Items'. This works
> better, but still the grid does not show those entries where there is
> no item in the list.

Cut and paste from the IBO Help:

This control allows a standard combo box to be bound to a data column.
The values of the drop-down list must be supplied by assigning them to
the Items property manually at design-time or run-time.

The ItemValues property can be used to provide a table of values to
store in the database instead of the entries listed in the Items
property.
>>>>> Note that this property is ignored if the Style is csDropDown. <<<<<
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


Luc.