Vcl.Dialogs.TCustomFileDialog.OnShareViolation
Delphi
property OnShareViolation: TFileDialogShareViolationEvent read FOnShareViolation write FOnShareViolation;
C++
__property TFileDialogShareViolationEvent OnShareViolation = {read=FOnShareViolation, write=FOnShareViolation};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | Vcl.Dialogs.pas Vcl.Dialogs.hpp |
Vcl.Dialogs | TCustomFileDialog |
Description
Occurs when sharing violations arise from open or save operations.
OnShareViolation occurs when sharing violations arise from open or save operations. If an event handler is defined, the property contains a pointer to a TFileDialogShareViolationEvent. The DoOnShareViolation method triggers this event.