Subject | Re: TIB_ComboBox in Grid |
---|---|
Author | sonic3076 |
Post date | 2009-03-03T20:23:31Z |
I tracked down the problem to the procedure
TIB_CustomGrid.GetCellDisplayText(
I replaced this function with an older version. (I found an 4.2Ib
Version on my harddisk) and the behaviour is as it should be.
The problem is, that I don´t understand the changes between the 2
versions and I don´t want to downgrade this procedure. Perhaps the
older version has another error?
Jason, can I send you the 2 versions to check the differences. Or
should I post it here?
regards
Oliver
TIB_CustomGrid.GetCellDisplayText(
I replaced this function with an older version. (I found an 4.2Ib
Version on my harddisk) and the behaviour is as it should be.
The problem is, that I don´t understand the changes between the 2
versions and I don´t want to downgrade this procedure. Perhaps the
older version has another error?
Jason, can I send you the 2 versions to check the differences. Or
should I post it here?
regards
Oliver
--- In IBObjects@yahoogroups.com, "sonic3076" <o.wurdak@...> wrote:
>
> 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
>