📚 SAP Business One SDK Help

SelectRow Method
See Also 
RowNum
The number of the row to select (1-based)
Select

Indicates whether to select the row.

  • True: Select
  • False: Unselect
MultiSelect

Indicates whether previously selected rows remain selected, that is, whether multiple selection is enabled:

  • True: Previously selected rows remain selected.
  • False: Previously selected rows do not remain selected.

Description

Selects rows in the matrix.

Syntax

Visual Basic
Public Sub SelectRow( _
   ByVal RowNum As Long, _
   ByVal Select As Boolean, _
   ByVal MultiSelect As Boolean _
) 

Parameters

RowNum
The number of the row to select (1-based)
Select

Indicates whether to select the row.

  • True: Select
  • False: Unselect
MultiSelect

Indicates whether previously selected rows remain selected, that is, whether multiple selection is enabled:

  • True: Previously selected rows remain selected.
  • False: Previously selected rows do not remain selected.

Remarks

Valid only for user-added matrix.

Row number to select must be greater than 0 and must not exceed the number of rows in the matrix.

SelectRow method behaves as described in SelectionMode property.

See Also