FMX.Dialogs.TOpenDialog.OnSelectionChange

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnSelectionChange: TNotifyEvent read FOnSelectionChange write FOnSelectionChange;

C++

__property System::Classes::TNotifyEvent OnSelectionChange = {read=FOnSelectionChange, write=FOnSelectionChange};

Properties

Type Visibility Source Unit Parent
event published
FMX.Dialogs.pas
FMX.Dialogs.hpp
FMX.Dialogs TOpenDialog

Description

Occurs when file names displayed in the dialog are changed.

The OnSelectionChange event occurs whenever the file selection is changed. This can include opening the file-selection dialog box, highlighting a file or directory, selecting a new filter, selecting a new directory, or creating a new folder.

The currently selected file is stored in the FileName and Files properties. Files is used for multiple file selection.

The Sender parameter is an instance of the TOpenDialog.

See Also