Sign in Join
FPDoc Onlineexperiment

TCustomListBox.LockSelectionChange procedure

Member of TCustomListBoxpublicIn unit StdCtrls

Blocks selection changes during update to the widgetset class.

Declaration

pascal
procedure LockSelectionChange

Description

Increments the internal counter used to track selection change events. Used in the implementation of the AssignCacheToItemData, InitializeWnd, FinalizeWnd, UpdateSelectionMode, UpdateSorted, and SetItems methods.

The value is examined when the LM_SelChange message is handled for the control.

UnlockSelectionChange is used to decrement the internal counter.

See also

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