Subject RE: [IBO] 2 little grid problems
Author Claudio Valderrama C.
> -----Original Message-----
> From: paulhope@... [mailto:paulhope@...]
> Sent: MiƩrcoles 28 de Febrero de 2001 15:40
>
> 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.


> 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.

C.