Sign in Join
FPDoc Onlineexperiment

TCustomListBox.InitializeWnd procedure

Member of TCustomListBoxprotectedIn unit StdCtrls

Updates Items from the widgetset class and invalidates the item cache.

Declaration

pascal
procedure InitializeWnd; override

Description

InitializeWnd is an overridden method used to synchronize the control and the widgetset class. InitializeWnd copies values for the Items property from the ones allocated in the widgetset class. The value in ItemIndex is passed to the widgetset class when needed. An internal flag is reset to invalidate the item cache for the control, and the item data from the widgetset class is applied. Finally, the value in ScrollWidth is passed to the widgetset class.

See also

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