RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TControlCollection.AddControl Method

Creates a new TControlItem instance and adds it to the collection.

Pascal
procedure AddControl(AControl: TControl; AColumn: Integer = -1; ARow: Integer = -1);
C++
__fastcall AddControl(TControl * AControl, int AColumn = -1, int ARow = -1);

Call AddControl to create a control item in the collection. AddControl returns the new control collection item. 

 

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