Purpose
Determined the record number of the next selected row.
Class
Type
Method
Syntax
<oBrowser>:SelectionNextRow() Æ iRecNo
Return Value
iRecNo | The record number of the next selected row. If no further row is selected, the value 0 is returned. |
Data type: | Integer |
Description
bBrowser:SelectionNextRow() determines the next row in which are one or more columns selected. In combination with the method bBrowser:SelectionFirstRow() all selected rows can be determined.
The selected columns in a row can be determined by the methods bBrowser:SelectionFirstColumn() and bBrowser:SelectionNextColumn().
Samples
The following sample deletes all records that are selected in a browser.
LOCAL iRecNo AS INT
oBrowser:Server:SuspendNotification()
iRecNo := oBrowser:SelectionFirstRow()
WHILE iRecNo>0
oBrowser:Server:GoTo(iRecNo)
oBrowser:Server:Delete()
iRecNo := oBrowser:SelectionNextRow()
END
oBrowser:Server:GoTop()
oBrowser:Server:ResetNotification()
oBrowser:Server:Notify(NOTIFYFILECHANGE)
See Also
bBrowser:SelectionFirstColumn()
bBrowser:SelectionNextColumn()
Page url: http://www.YOURSERVER.com/index.html?bbrowser_selectionnextrow.htm