DIAdem Help

Collection: HeaderItems

  • Updated2024-09-12
  • 1 minute(s) read

Collection: HeaderItems

The HeaderItems object provides a list of all the table headings in a channel table in the DIAdem VIEW panel. Use the HeaderItems collection to delete table headings or to add new table headings.

The following example creates a table and displays the properties of the channels:

VBScriptPython

 

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)

Properties

Count

Methods

Add | Item | Remove

Returned From

ChannelTable.HeaderItems