Subject Re: [IBO] 2 little grid problems
Author paulhope@allcomm.co.uk
Claudio

Thanks for the reply -

> > I have two little IB_Grid problems
> >
> > 1* The data in one of my grids is underlined (is
that 'underscored'
> > in the land of the free?). I can't see whats causing it?
>
> Did you check the font's properties? Did you try raising the
height of the
> cells? It might be a visual effect.

The font was default but the strange thing is - the problem has gone
away - must be related to wind direction :-/


>
>
> > 2* I want OnCellClick to fire every time and I don't want any
> > editing. If I click in the focused cell it displays the in cell
> > editor and OnCellClick doesn't fire - if I click on another cell
it
> > work fine. I've tried setting the query readonly and allowediting
> > false and some other options but to no avail. What should I do?
>
> That's really easy: set the grid's ReadOnly property to True.
Then the
> editor doesn't appear any more.
> :-)
> Other solution: set ib_grid.RowSelect := True
>
> I think that you were referrring to PreventEditing instead,
since
> Allowediting doesn't exist for a TIB_Grid. I won't have any effect
in this
> case. It may not be appropriate to disable the editor with this
property,
> since there are other Prevent* properties.
>
Why didn't I think of that! (don't answer.. ). I was setting things
in the query not the grid :-(

Regards
Paul