Or, if we want to deselect a
specific row number, which is not the current row, we can do like this.
- Code: Select all Expand view
if ( nAt := AScan( oBrw:aSelected, nRecNo ) ) > 0
HB_ADel( oBrw:aSelected, nAt, .t. )
endif
oBrw:Refresh()
We do not recommend this, but this is possible.