ListBarPageItems.Insert
- Mise à jour2025-07-21
- Temps de lecture : 1 minute(s)
ListBarPageItems.Insert
Syntax
ListBarPageItems.Insert( itemCaption, iconName, insertBefore)
Return Value
Purpose
Inserts a new item into the ListBarPage.
Remarks
Parameters
itemCaption As String
[In] Specifies the caption for the new item.
iconName As String
[In] Specifies the name of the icon for the new item. Refer to the ListBarPageItem.IconName property for more information about naming icons for an item. Icon files are located in the <TestStand> \Components\Icons and <TestStand Public> \Components\Icons directories.
insertBefore As Long
[In] Specifies the index of the existing item before which the new item is inserted. Pass -1 to insert the item at the end.