DIAdem Help

Method: ScrollCellInView for XTable

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

Method: ScrollCellInView for XTable

Moves a cell of the extended table in user dialog boxes, into the visible range if this cell is not already visible.

Object.ScrollCellInView(Row, Col)
ObjectXTable
Object with this method
RowLongInteger
Specifies the row index of the cell. The index 1 means that DIAdem maintains the current row position.
ColLongInteger
Specifies the column index of the cell. The index 1 means that DIAdem maintains the current column position.

This example moves the cell that has the line index 25 and the column index 5 to the visible area of the XTable1 table when the button Button1 is clicked:

Sub Button1_EventClick(ByRef This)
  Call XTable1.ScrollCellInView(25,5)
End Sub