Subject Re: [IBO] TIB_Lookupcombo hiding in grid?
Author Helen Borrie
At 08:34 AM 24/11/2005 +0100, you wrote:
>Hi all,
>
>Sorry if this looks like a repost. My messages do not show up in the
>list. Don't know why...
>
>Anyway,
>using ibobject 4.5B on Delphi 7, xp2.
>
>I followed all the steps in the controls tutorial, however...
>
>When I drop the tib_lookupcombo on a TIB_Grid, in order to achieve a
>combobox when editing or inserting, the combolookup is there but somehow
>its hiding itself behind the (correct) cell in the grid. If I click the
>cell, the dropdownbutton very shortly shows up, but then hides itself
>again. I also can no longer scroll the grid. If I cut the lookupcombo
>from the grid and paste it somewhere else on the form, setting visible
>back to true, it works as expected... even changing the corresponding
>value in the grid....
>
>What can be wrong that stops the combolookup from becoming really
>visible and making the grid no longer scrollable?

Don't drop the tib_lookupcombo on the grid, drop it into the main form and
set it all up first, outside the grid. Then select it, cut it out of its
temporary parent (ctrl-x), then immediately select the grid and do Ctrl-v.

Helen