Sign in Join
FPDoc Onlineexperiment

TCustomFileListBox.OnChange property

Member of TCustomFileListBoxpublicIn unit FileCtrl

Event handler signalled when the selected file in the list box control is changed.

Declaration

pascal
property OnChange: TNotifyEvent read FOnChange write FOnChange;

Description

OnChange is a TNotifyEvent property which contains the event handler signalled when the selected file for the control has been changed. This can occur when clicking on an entry in list box, when assigning a value directly to the FileName property, and when the list of file system entries in the control is reloaded.

OnChange is triggered (when assigned) from the DoChangeFile method. An application must implement and assign an object procedure to the handler to respond to the event notification.

See also

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