How to use DELPHI types in RAP
Hi
RB10.09 and DELPHI 6.02 in Windows XP
I am attempting to solve the slow image handling issue I have by using the
OnGetPicture event. I have tried the following code and get a compile error
procedure dbImgFooterOnGetPicture(aPicture: TPicture);
var
aStream: TBlobStream;
begin
aStream := TBlobStream.Create(V_THT_DOC_GEN['IMAGE_FOOTER'],bmRead);
end;
Error: dbImgFooterOnGetPicture, Line 3: Expected type but found
'TBlobStream' instead.
Now I have included DBTables in the uses clause of the form on which the
report designer is created.
Is it possible to do this in RAP? If so what am I not doing?
Regards
Andrew
RB10.09 and DELPHI 6.02 in Windows XP
I am attempting to solve the slow image handling issue I have by using the
OnGetPicture event. I have tried the following code and get a compile error
procedure dbImgFooterOnGetPicture(aPicture: TPicture);
var
aStream: TBlobStream;
begin
aStream := TBlobStream.Create(V_THT_DOC_GEN['IMAGE_FOOTER'],bmRead);
end;
Error: dbImgFooterOnGetPicture, Line 3: Expected type but found
'TBlobStream' instead.
Now I have included DBTables in the uses clause of the form on which the
report designer is created.
Is it possible to do this in RAP? If so what am I not doing?
Regards
Andrew
This discussion has been closed.
Comments
Just found info regarding the RTTI and pass thru functions in the RAP
section so please ignore this.