TrvActionItemProperties.OnCanApply

Top  Previous  Next

Requests whether a custom dialog can be displayed for the given item.

type

  TRVCanApplyEvent = procedure (Sender: TObject; Editor: TCustomRichViewEdit;

    Item: TCustomRVItemInfo; var CanApply: Boolean) of object;

 

property OnCanApply: TRVCanApplyEvent;

This event occurs only if OnCustomItemPropertiesDialog event is assigned.

A dialog will be displayed for Item in the Editor (for the selected item, if only one item is selected), if CanApply is set to True.


RichViewActions © trichview.com