Home News DOC Class DL Others Rice
Class  >  browser  >  LoadUrl(string,bool)
browser class : LoadUrl(string,bool) method

Description

Moves to the specified URL.

Syntax

instance.LoadUrl(string url, bool sync)

Arguments

ClassNameDescription
stringurlURL
boolsyncSynchronous or asynchronous.

Return value

None.

Sample code

1:

window w;

2:

browser b = w.CurrentBrowser;

3:

string url = "https://example.com/";

4:

b.LoadUrl(url, true); // Synchronous loading.

Notes

If you specify true for the second argument, the moving will be done synchronously. If false is specified, it will be done asynchronously.

Events related to page navigation occur.

Links for reference

None.

Copyright © Rice All rights reserved.