Add Method
Description
Adds a new TaskPanelGroupItem to the TaskPanelGroup's collection of items.
Syntax
Public Function Add( _
ByVal [Id](#) As Long, _
ByVal [Caption](#) As String, _
ByVal [Type](#) As [XTPTaskPanelItemType](XtremeTaskPanel~Enumerations~XTPTaskPanelItemType_EN.md), _
Optional ByVal [IconIndex](#) As Variant _
) As [TaskPanelGroupItem](XtremeTaskPanel~TaskPanelGroupItem.md)
Parameters
- Id: Identifier of the group item to be added.
- Caption: Caption of the item to be added.
- Type: Type of the item to be added.
| Value | Description |
|---|---|
| xtpTaskItemTypeLink | Task panel item is a link. |
| xtpTaskItemTypeText | Task panel item is plain text. |
| xtpTaskItemTypeControl | Task panel item is a control such as a combobox or textbox. |
- IconIndex: Icon index of the item to be added.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.