Sign in Join
FPDoc Onlineexperiment

TCustomFileListBox.Click procedure

Member of TCustomFileListBoxpublicIn unit FileCtrl

Performs actions needed when the mouse is clicked on the list box control.

Declaration

pascal
procedure Click; override

Description

Click is an overridden method in TCustomFileListBox used to perform actions needed when the mouse is clicked in the list box control. Click ensures that the value in the FileName property is updated to reflect the selected file name in Items. ItemIndex contains the position for the current selection in the list box.

Click signals the OnChange event handler (when assigned) by calling the DoChangeFile method.

See also

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