trichview.com

trichview.support




Compilation error on event OnPrintComponent of TRVPrint


Return to index


Author

Message

Sergej

Posted: 10/15/2003 19:07:55


I had yesterday downloaded the new version 1.7.30. And after

upgrade from version 1.5 I got one problem with the TRVPrint

component. The syntax of the PrintComponent was cahnged. I had

reassigned new event handler and now have compilation error:

"Declaration of 'RVPrint1PrintComponent' differs from previous declaration"


The error occurs also with empty implementartion of the handler

(please see below).

Could you please help me?


Declaration in my class (auto generated):

-----------------------------------------

procedure RVPrint1PrintComponent(Sender: TCustomRVPrint;

  PrintMe: TControl; var ComponentImage: TBitmap);


Empty implementation:

---------------------

procedure TFormPrintPreview.RVPrint1PrintComponent(Sender: TCustomRVPrint;

  PrintMe: TControl; var ComponentImage: TBitmap);

begin

//

end;





Powered by ABC Amber Outlook Express Converter