Subject Re: [IBO] Prevent editing in IB_Grid?
Author Frank Ingermann
Hi Paul,

Paul Hope wrote:
> Hi
>
> I was hoping to prevent a grid showing the editor - such that the cell
> retains its focus box and the text is not highlighted with a flashing carrat
> when the cell is clicked.
>
> So far I have tried PreventEditing in the query and the grid and have set
> the grid ListBoxStyle to true - no luck.
>
> Are there some settings that allow this?

i may be thinking too simple, but have you tried grid.ReadOnly=True ??
(and/or grid.AlwaysShowEditor=False, but this has no effect when ReadOnly=true
anyway...)

> Regards
> Paul

hth,
fingerman

--
-------------------------------------------------------------------------
when parsers parse, and compilers compile, then why don't objects object?

fingerbirdy - fingerman's door to Firebird
http://www.fingerbird.de