Navigation:  Classes > bBrowser >

bBrowser:SelectionSave()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Saves information of the current selection.

Class

bBrowser

Type

Method

Syntax

<oBrowser>:SelectionSave() Æ auSelection

Return Value

auSelectionAn array with the saved selection information.
Data type:Array

Description

bBrowser:SelectionSave() saves details of the current selection in an array and returns this. The array contains all necessary information to restore the selection at a later time. The method bBrowser:SelectionRestore() must be called to restore a saved selection.

Samples

The following sample saves the current selection, deletes these and then restores them.

 

auSelection := oBrowser:SelectionSave()

oBrowser:SelectionRemove(#All)

oBrowser:SelectionRestore(auSelection)

See Also

bBrowser:SelectionRemove()

bBrowser:SelectionRestore()

bBrowser:SelectionSet()

 


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