Object: HeaderItem
- Updated2024-09-12
- 1 minute(s) read
(ChannelTable | Collections) > HeaderItems > Object: HeaderItem
Object: HeaderItem
The HeaderItem object provides access to a table heading for a channel table in DIAdem VIEW. DIAdem displays channel properties in the table titles. DIAdem displays the property names in the index column.
The following example creates a table and displays the properties of the channels:
| VBScript | Python |
Dim oMySheet, oMyHeaders, HeaderItem, sOutput Call View.NewLayout() Set oMySheet = View.ActiveSheet oMySheet.ActiveArea.DisplayObjType = "ChannelTable" Set oMyHeaders = oMySheet.ActiveArea.DisplayObj.HeaderItems sOutput = "List of header items: " & vbCrLf For Each HeaderItem in oMyHeaders sOutput = sOutput & HeaderItem.Name & vbCrLf Next MsgBox(sOutput)