Sign in Join
FPDoc Onlineexperiment

TDBListBox.DoSelectionChange procedure

Member of TDBListBoxprotectedIn unit DBCtrls

Performs actions needed when the current selection in the listbox control is changed.

Declaration

pascal
procedure DoSelectionChange(User: Boolean); override

Arguments

User

Indicates if the change results from user interaction with the control.

Description

DoSelectionChange is an overridden procedure in TDBLIstBox. It provides support for changing the modified status for the linked dataset when a new item is selected in the listbox.

User indicates if the change was performed by user interaction with the listbox, as opposed to a programmatic change from methods or messages in the class. When User is True, the internal TFieldDataLink instance is used to edit and set the Modified property in the linked dataset. When User is False, the inherited DoSelectionChange method is called.

DoSelectionChange is used in the implementation of methods in the ancestor class, like LMSelChange and SelectAll.

See also

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