TDBListBox.DoSelectionChange procedure
Performs actions needed when the current selection in the listbox control is changed.
Declaration
procedure DoSelectionChange(User: Boolean); overrideArguments
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.
