|Subject||Re: [IBO] IB_Grid and variable row heights|
> The grid rows need to vary their heights to accomodate andTIB_Grid is not designed to support variable height rows.
> display multi-line notes.
All its calculations are based on the assumption that all
rows are the same height.
> I tried setting the DrawCellTextOptions to ShowBlobText asIt should cause the blobs to be displayed. Note however that
> suggested by Geoff Worboys but it doesn't seem to have any
the blobs must be recognisable as text blobs (they must be
defined as subtype 1), without this the code has no way of
identifying whether the blobs are text or binary.
> My question is: Am I wasting my time trying to use an IB_GridIf you want the rows to be variable in height then I think
> for this purpose or is there a grid component available that
> will do the job?
TIB_Grid will not do the job. If you dont mind making all the
rows the same height (perhaps two lines or something) then it
may be able to do what you want. Note that you can also
configure the grid to auomatically display a notes editor
dialog when that field is selected - perhaps that would be OK?
A separate thread is discussing TIB_CtrlGrid, but it has its
own set of limitations so it may or may not achieve what you
Everyone seems so keen on trying to present editable grids to
the user - grids are not the only way to do things, IMO they
are not even preferable as an editing interface since they
make the keyboard interface so confusing.
Split interfaces (either side-by-side, or above-below) can
often offer what you need. One part shows the grid of rows
matching your search conditions and the other shows the
editable details of the currently selected row. Configured
correctly this is still easy to navigate and keeps everything
clear an obvious to the user (all IMHO of course :-)