Subject | IB_Grid IndicateHighlight question |
---|---|
Author | Alan McDonald |
Post date | 2004-06-06T12:39:20Z |
When I click away from my IB_Grids I want the highlighted cell to not be
highlighted - the row remains highlighted but the cell turns off if I use
the OnExit event to fire
(Sender as TIB_Grid).IndicateHighlight := False;
But this has a strange side effect. If I have focused a drop down combo, and
do this i.e. click away, the grid is locked and I can't click to another
cell or row until I force a query/transaction refresh or use the master grid
to force the query to change completely.
On Enter I use the opposite, i.e. IndicateHighlight := True;
But if the focused cell is not the drop down, then there is no such problem,
focus will return just fine.
I assume that it's some interaction between the drop down focus and
highlighting and the grid focus and highlighting - can anyone think of a
clue to fix it?
thanks
Alan
highlighted - the row remains highlighted but the cell turns off if I use
the OnExit event to fire
(Sender as TIB_Grid).IndicateHighlight := False;
But this has a strange side effect. If I have focused a drop down combo, and
do this i.e. click away, the grid is locked and I can't click to another
cell or row until I force a query/transaction refresh or use the master grid
to force the query to change completely.
On Enter I use the opposite, i.e. IndicateHighlight := True;
But if the focused cell is not the drop down, then there is no such problem,
focus will return just fine.
I assume that it's some interaction between the drop down focus and
highlighting and the grid focus and highlighting - can anyone think of a
clue to fix it?
thanks
Alan