RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebComponentList.Add Method

Inserts a new component at the end of the list.

Pascal
procedure Add(Component: TComponent);
C++
__fastcall Add(TComponent * Component);

Call Add to insert a component at the end of the WebComponents array. 

Add increments the Count property. After calling Add, the value of Count is one greater than the index of the inserted component in the WebComponents array. To move this component to another position, use the SetComponentIndex method. 

 

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