Sign in Join
FPDoc Onlineexperiment

TOwnerDataListItem.SetOwner procedure

Member of TOwnerDataListItempublicIn unit ComCtrls

Sets the TListItems container which owns the virtual list item.

Declaration

pascal
procedure SetOwner(AOwner: TListItems)

Arguments

AOwner

TListItems instance which owns the virtual list item.

Description

Changing the owner for the list item causes values in internal members to be cleared, including:

  • Flags (an empty set).
  • States (an empty set).
  • ImageIndex (-1 for the unassigned value).
  • SubItems (frees the TStrings instance for the member).

See also

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