Subject | Re: [IBO] TIB_Grid and multiselect |
---|---|
Author | sllimr7139 |
Post date | 2004-01-14T17:33:08Z |
Hi Paul,
IndicateHighlight = false,
IndicateSelected = false,
RowSelect = true,
The reset are size and alignment properties.
focus change though.
Both of my grids, at design time, specify that the
CurrentRowColor is clWindow so how they get the default windows
highlight doesn't make any sense to me. (clWindow is the default
value for CurrentRowColor)
Ryan.
> Wait a minute... are you sure IndicateHighlight is false forPositive. Here are my current modified properties:
> the grid? Because that's not the same as the CurrentRowColor.
> IndicateHighlight uses the Windows highlight color, and
> it kicks in when the Grid *loses* focus.
IndicateHighlight = false,
IndicateSelected = false,
RowSelect = true,
The reset are size and alignment properties.
> I just added these two handlers to an app of mine:<snip>
> And it works like a charm! Of course if you use it for moreAlready done the TIB_Grid(Sender) thing, Thanks. <g>
> grids, you must cast Sender to TIB_Grid*.
> Also realize that clicking on a non-windowed control (like aI know. Clicking on a TButton or a TEdit Field should force a
> TIB_UpdateBar) doesn't take the focus away, so this will leave the
> current row in CurrentRowColor (not Windows' highlight color).
focus change though.
Both of my grids, at design time, specify that the
CurrentRowColor is clWindow so how they get the default windows
highlight doesn't make any sense to me. (clWindow is the default
value for CurrentRowColor)
Ryan.