vcl-dxrichedit-dot-actions-e61916ac.md
An action object that corresponds to the NewDocument command provided by the Rich Edit control.
TdxRichEditControlNewDocument = class(
TdxRichEditControlAction
)
This class does not introduce any new public members. Executing the TdxRichEditControlNewDocument action object does the following:
OnDocumentClosing event.OnEmptyDocumentCreated event.UI elements linked to a TdxRichEditControlNewDocument action object are enabled only if the Rich Edit control’s Options.Behavior.CreateNew property is set to TdxDocumentCapability.Default or TdxDocumentCapability.Enabled.
Note
A CreateNewDocument function call with True passed as its ARaiseDocumentClosing parameter is equivalent to the TdxRichEditControlNewDocument action object execution.
TObject TPersistent TComponent TBasicAction TContainedAction TCustomAction TAction TdxBasicAction TdxRichEditControlAction TdxRichEditControlNewDocument
See Also
TdxRichEditControlLoadDocument Class
TdxRichEditControlSaveDocument Class
TdxRichEditControlSaveDocumentAs Class