[Overview][Types][Classes][Procedures and functions][Index] |
Event handler for changes to the selected item in ShellListView.
Source position: lazdialogs.pas line 43
public procedure TLazarusFileDialogForm.HandleSelectItem( |
Sender: TObject; |
Item: TListItem; |
Selected: Boolean |
); |
Sender |
|
Component generating the event notification. |
Item |
|
List item selected in the ShellListView control. |
Selected |
|
Indicates that Item is selected when True. |
HandleSelectItem is a procedure used as the event handler for a change to the selected item in ShellListView. It is assigned to the OnSelectItem property in ShellListView in the Initialize method.
HandleSelectItem ensures that the value in SaveEdit is updated with the Caption for the selected item in Save dialogs (Kind is ldkSaveDesktop or ldkSavePDA). For other dialog types, the OK button in ButtonPanel is enabled or disabled depending on the selection of an item in ShellListView; the OK button is Enabled when the Selected parameter contains True.
|
Edit control used for a FileName on the dialog form. |
|
|
Shell list view control for the Lazarus dialog form. |
|
|
Button panel for the Lazarus dialog form. |
Version 4.0 | Generated 2025-05-03 | Home |