[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'StdCtrls' (#lcl)

TCustomListBox.FinalizeWnd

Caches the Items stored in the widgetset class.

Declaration

Source position: stdctrls.pp line 588

protected procedure TCustomListBox.FinalizeWnd; override;

Description

FinalizeWnd is an overridden method used to capture values from the widgetset class when the handle is destroyed or re-created. FinalizeWnd gets the value for ItemIndex when the handle is being re-created. Values in Items (and its cached item data) are copied before they are freed in the widgetset class. The value in Sorted is re-applied to the new values in Items.

FinalizeWnd calls the inherited method prior to exit.

See also

TCustomListBox.Items

  

The list of all items defined in the control.

TCustomListBox.Sorted

  

Determines whether the list entries are sorted in alphanumeric order.

TWinControl.FinalizeWnd

  

Prepares to remove the window (called before the Handle is destroyed).


Version 4.0 Generated 2025-05-03 Home