Home News DOC Class DL Others Rice
Class  >  browser  >  GoBack(bool)
browser class : GoBack(bool) method

Description

Navigates back to previous page in the navigation history.

Syntax

instance.GoBack(bool sync)

Arguments

ClassNameDescription
boolsyncSynchronous or asynchronous.

Return value

None.

Sample code

1:

window w;

2:

browser b = w.CurrentBrowser;

3:

b.GoBack(true); // "true" is synchronous navigation.

Notes

If the previous page in the navigation history does not exist, nothing happens.

If true is specified, it will move synchronously. If false is specified, it will move asynchronously.

Events related to page navigation occur.

Links for reference

None.

Copyright © Rice All rights reserved.