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:

browser b; // Main-browser

2:

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 © Cooker All rights reserved.