Purpose
Restores a before saved selection.
Class
Type
Method
Syntax
<oBrowser>:SelectionRestore(
<auSelection>,
<lRedraw>
) Æ lSuccess
Arguments
auSelection | An 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
lSuccess | A logical value that indicates whether the selection was restored. |
TRUE | The selection was restored. |
FALSE | The 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
Page url: http://www.YOURSERVER.com/index.html?bbrowser_selectionrestore.htm