Subject Re: [IBO] TIB_CtrlGrid and TIB_RichEdit
Author TeamIBO
> I'm using TIB_Richedit on a TIB_CtrlGrid. The data in the richedit
> only shows for the current record. How do I get it to show for all
> records displayed on the screen? I access the data via a TIB_Query.

The fact that IBO is allowing you to drop the control onto the grid is
actually an error. (A result of a small cheat where the control uses
the same initialisation code as IB_Memo.)

To be able to use controls on CtrlGrid they must be replicatable. This
is usually indicated in the ControlStyle (csReplicatable option), but
this option should only be provided when the control can be copied
using the PaintTo method (otherwise you get the result that you are

I remember attempting many different things to get around this a few
years ago (when trying to make my own grid control) and never did find
a way to make it work.

I think the VCL confirms my above assertions, as it does not make
TDBRichEdit csReplicatable.

Geoff Worboys - TeamIBO
Telesis Computing