DIAdem Help

Method: SetActiveCell for ChannelTable

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

Method: SetActiveCell for ChannelTable

Moves the entry marker to the specified position in a 2D channel table in DIAdem VIEW.

Object.SetActiveCell(RowIndex, ColIndex)
ObjectChannelTable
Object with this method
RowIndexLongInteger
Specifies the row index.
ColIndexLongInteger
Specifies the column index.

The following example creates a channel table with one column, and moves the entry marker to the first position:

VBScriptPython

 

View.ActiveSheet.ActiveArea.DisplayObjType = "ChannelTable"
Dim oMyObj: Set oMyObj = View.ActiveSheet.ActiveArea.DisplayObj
Call oMyObj.Columns.Add("[1]/[3]")
Call oMyObj.SetActiveCell(1,1)