Subject | Re: [IBO] How I can used JPG in FastReport |
---|---|
Author | Dieter Tremel |
Post date | 2001-09-14T06:55:55Z |
--- In IBObjects@y..., "Dieter Tremel" <tremel@t...> wrote:
I was to quick with my last posting, sorry. This piece of code must
be:
procedure frAssignBlobTo(Blob: TfrTField; Obj: TObject);
begin
{$IFDEF IBO}
Blob.AssignTo(Obj);
if Obj is TStream then
TStream(Obj).Position := 0;
{$ELSE}
otherwise TfrRichView does not display when filled by IBO out of a
Blob Field.
Thank You Dieter Tremel
> --- In IBObjects@y..., lester@l... wrote:the
> > I have found that there is still some work to do on the
> > image streaming section to get it to work. BMP's don't
> > display either.
>
> Hello lester,
> I think commenting out the following line in FR_DBRel.pas solves
> Problem:Hello Lester,
>
> procedure frAssignBlobTo(Blob: TfrTField; Obj: TObject);
> begin
> {$IFDEF IBO}
> Blob.AssignTo(Obj);
> // Tremel 17.8.2001 TStream(Obj).Position := 0;
I was to quick with my last posting, sorry. This piece of code must
be:
procedure frAssignBlobTo(Blob: TfrTField; Obj: TObject);
begin
{$IFDEF IBO}
Blob.AssignTo(Obj);
if Obj is TStream then
TStream(Obj).Position := 0;
{$ELSE}
otherwise TfrRichView does not display when filled by IBO out of a
Blob Field.
Thank You Dieter Tremel