Subject Re: [IBO] As I can avoid the blue color in the active cell of a read only TIB_Gr
Author Lester Caine
> I test and it doesn't seem that ignorecolorscheme affects to the color
> of a field . With TIb_grid the IndicateHighlight property it makes
> that the text of the field doesn't appear in blue. But this property
> doesn't exist in the TIb_LoockupCombo neither the TIb_ControlGrid. I
> have a TIb_ControlGrid containing a TIb_Memo when I make 1 click on
> the Memo it appears selected in blue, although this defined as
> ReadOnly.
> This is not very showy in readonly screens.

I get round this by 'kicking' the focus back out of the
control. Add 'SomethingElse->SetFocus()' in the OnEnter
event, also make sure that 'TabStop=false' for all controls
that you do not want to get focus at all.

Probably not the right way of doing it, but since the
control is ReadOnly there should be no reason for it to be
selected in the first place :)

--
Lester Caine
-----------------------------
L.S.Caine Electronic Services