Subject Re: Fw: [IBO] TIB_RichEdit feature
Author Jason Wharton
Do some debugging and trace through this please.

Jason Wharton
www.ibobjects.com

----- Original Message -----
From: "freeadmin" <freeadmin@...>
To: <IBObjects@yahoogroups.com>
Sent: Wednesday, January 14, 2004 2:59 PM
Subject: Re: Fw: [IBO] TIB_RichEdit feature


> Helen,
>
> Part of Helen's answer:
> > If you have written a function that can convert a richtext stream to
html,
> > then you can call it in the OnSetText of the column. I don't know why
you
> > think these methods are not available. Perhaps you have not hooked the
> > control to the column object? Consult the help for tib_column,
> > tib_columnblob and tib_columnmemo.
>
> Firstly, thanks for your quick answer. In my opinion you aren't right.
> I use BLOB SUB_TYPE 1 column for containing HTML stream.
>
> The OnSetText/OnGetText methods are available only in the TIB_Column.
> For example:
>
> IBA_Column.IMP file:
> function TIB_ColumnInteger.GetAsString: string;
> begin
> ...
> if Assigned( FOnGetText ) then
> FOnGetText( Self, Result );
> end;
>
> Unfortunately, this OnSetText/OnGetText methods are not called in the
> TIB_ColumnBlob.
>
> IBA_ColumnBlob.IMP file:
> function TIB_ColumnBlob.GetAsString: string;
> begin
> ...
> // The call of OnGetText is missing.
> end;
>
> What is the reason? What kind of solution can you recommend to
> solve the above mentioned problem?
>
> Regards,
> FreeAdmin