TrvActionItemProperties.OnCustomItemPropertiesDialog

<< Click to display table of contents >>

TrvActionItemProperties.OnCustomItemPropertiesDialog

Allows displaying a dialog for editing properties of different item types, or replacing dialogs for items of the standard types, or forbidding displaying a standard dialog for items of standard types.

type

  TRVCustomItemPropertiesDialog = procedure (Sender: TObject;

    Editor: TCustomRichViewEdit; var DoDefault: Boolean) of object;

 

property OnCustomItemPropertiesDialog: TRVCustomItemPropertiesDialog;

A dialog must be displayed for the current item in the Editor (or for the selected item, if only one item is selected).

Assign False to DoDefault if you do not want to display a standard dialog after calling this event.

See also:

OnCanApply