<< Click to display table of contents >> TRVAControlPanel.OnGetHeaderFooterCode |
This event allows requesting a value for the code in the header/footer string.
type
TRVHeaderFooterCodeEvent = procedure (Sender: TObject;
Edit: TCustomRichViewEdit; const Code: TRVUnicodeString;
var Value: TRVUnicodeString) of object;
property OnGetHeaderFooterCode: TRVHeaderFooterCodeEvent;
The string is stored in Header.Text and Footer.Text. It can be edited in the dialog displayed by TrvActionPageSetup.
Input parameters:
Sender – TRVPrint component
Editor – the editor for printing.
Code – the one-letter code (English character). The following codes are reserved: 'P', 'p', 'd', 't'.
Value is empty on input.
Output parameter:
Value – text to insert in the place of this code.