Open main menu

RAD Studio API Documentation β

API:Vcl.Dialogs.TFileOpenDialog.OnShareViolation

Delphi

property OnShareViolation: TFileDialogShareViolationEvent read FOnShareViolation write FOnShareViolation;

C++

__property OnShareViolation;

Properties

Type Visibility Source Unit Parent
event published
Vcl.Dialogs.pas
Vcl.Dialogs.hpp
Vcl.Dialogs TFileOpenDialog

Description

Occurs when sharing violations arise from open or save operations.

Vcl.Dialogs.TFileOpenDialog.OnShareViolation inherits from Vcl.Dialogs.TCustomFileDialog.OnShareViolation. All content below this line refers to Vcl.Dialogs.TCustomFileDialog.OnShareViolation.

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.

See Also