TrvActionPasteSpecial.AddFormat

<< Click to display table of contents >>

TrvActionPasteSpecial.AddFormat

Adds a new format in the paste-special dialog.

procedure AddFormat(const FormatName: TRVALocString; Format: Word);

This method must be called only from OnShowing event.

Parameters:

FormatName – format name, how it appears in the dialog.

Format – Clipboard format. This parameter can be a registered format or any of the standard Clipboard formats.

Data in the format specified in this method must be available in the Clipboard. If the user will choose this format, OnCustomPaste event will occur.