Subject | Re: [IBO] TIB_ComboBox in Grid |
---|---|
Author | Jason Wharton |
Post date | 2009-03-06T15:38:22Z |
You should also add in the OnGetText event to supply the display text
conversion for when the in-line control is not showing in the cell.
Jason
conversion for when the in-line control is not showing in the cell.
Jason
----- Original Message -----
From: "sonic3076" <o.wurdak@...>
To: <IBObjects@yahoogroups.com>
Sent: Monday, March 02, 2009 5:59 PM
Subject: [IBO] TIB_ComboBox in Grid
Hi
I donĀ“t understand the behaviour of a TIB_ComboBox in a Grid.
I have a Integer Field with a fixed range of values e.g. 1 2 3 and I
want to display "one" "two" "three" in the Grid. So I drop a
TIB_ComboBox in the Grid; link it to the field; enter 1 2 3 in the
Itemvalues Stringlist and "one" "two" "three" in the Items Stringlist.
The style is csDropDownList.
When the grid is displayed all values are translated to "one" "two"
"three". When I enter the field the drop-down-icon is displayed and I
can change the value. Now I jump to the next column. The drop-down
icon disappears and the field displays the value (1) instead of "one"
This appears only if the record is in edit or insert-mode.
Is something wrong in my TIB_ComboBox setup?
I use IBO 4.8.7.
thanks
Oliver