RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomListBox.Create Constructor

Instantiates a list box control.

Pascal
constructor Create(AOwner: TComponent); override;
C++
virtual __fastcall TCustomListBox(TComponent * AOwner);

Call Create to instantiate a list box control at runtime. For list boxes created at design time, Create is called automatically.AOwner is the component that is responsible for freeing the list box. It becomes the value of the Owner property. If AOwner is nil, the caller is responsible for explicitly freeing the control. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!