Sign in Join
FPDoc Onlineexperiment

TLazarusFileDialogForm.HandleTreeViewSelectionChanged procedure

Member of TLazarusFileDialogFormpublicIn unit LazDialogs

Event handler signalled when the selected item in ShellTreeView is changed.

Declaration

pascal
procedure HandleTreeViewSelectionChanged(ASender: TObject)

Arguments

ASender

Component generating the event notification.

Description

HandleTreeViewSelectionChanged is a procedure used as the event handler for a change to the selected item in the ShellTreeView control. It is assigned to the OnSelectItem property for the ShellListView control in the Initialize method.

HandleTreeViewSelectionChanged is used in directory selection dialogs (Kind contains ldkSelectDirectory). HandleTreeViewSelectionChanged ensures that the OK button in ButtonPanel is enabled.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.