TcxTabs.Insert(Integer,string) Method
Declaration
procedure Insert(Index: Integer; const S: string); override;
Parameters
Name | Type |
---|---|
Index | Integer |
S | string |
Remarks
Use the Insert method to add a new tab to the tabs collection. The S parameter specifies the caption of the added tab. Its value is assigned to the Caption property of a newly created TcxTab object.
The Index parameter specifies the position within the tabs collection to which a tab is inserted. Indexes are zero-based. If the Index parameter value is negative or greater than the last available index, an error is raised. The last available index is specified by the Count property value.
See Also