Navigation:  Classes > bBrowser >

bBrowser:SelectionNextRow()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Determined the record number of the next selected row.

Class

bBrowser

Type

Method

Syntax

<oBrowser>:SelectionNextRow([<iOptions>]) Æ nRecNo

Arguments

<iOptions>Options for determining the selected rows. Several options can be combined. The following table defines the supported options:

 

Option

Description

BBSRO_NONE

No options are defined.

BBSRO_IGNORECOLLAPSEDRECORDGROUPS

Selected rows in closed record groups are ignored.

 

Data Type:DWord

Return Value

nRecNoThe record number of the next selected row. If no further row is selected, the value 0 is returned.
Data Type:Integer | Float | Real8

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:SelectionCellCount

bBrowser:SelectionFirstColumn()

bBrowser:SelectionFirstRow()

bBrowser:SelectionMode

bBrowser:SelectionNextColumn()

bBrowser:SelectionRemove()

bBrowser:SelectionRowCount

bBrowser:SelectionSet()

 


Page url: http://www.YOURSERVER.com/index.html?bbrowser_selectionnextrow.htm