Navigation:  Classes > bBrowser >

bBrowser:SelectionRestore()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Restores a before saved selection.

Class

bBrowser

Type

Method

Syntax

<oBrowser>:SelectionRestore(

<auSelection>,

<lRedraw>

) Æ lSuccess

Arguments

auSelectionAn array with the data of the saved selection. The array is created with the method bBrowser:SelectionSave().
Data Type:Array

 

<lRedraw>A logical value that indicates whether the selection is to be redrawn after restoring.
Data Type:Logic

Return Value

lSuccessA logical value that indicates whether the selection was restored.
TRUEThe selection was restored.
FALSEThe selection was not restored.
Data Type:Logic

Description

bBrowser:SelectionRestore() restores a selection that was saved with the method bBrowser:SelectionSave().

Samples

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

 

auSelection := oBrowser:SelectionSave()

oBrowser:SelectionRemove(#All)

oBrowser:SelectionRestore(auSelection, FALSE)

See Also

bBrowser:SelectionRemove()

bBrowser:SelectionSave()

bBrowser:SelectionSet()

 


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