Sets the location of an HTML control or sends a special command to it
bool wb_set_location (int wbobject, string location)
| Type | Examples |
|---|---|
| URL | http://hypervisual.com/winbinder/index.php |
| File name | C:\WinBinder\Website\manual\index.html
E:\WinBinder\package.xml E:\WinBinder\Readme.txt |
The function also recognizes some special commands as the location parameter. All special commands must be preceded by the cmd: prefix.
| Value of location | Meaning |
|---|---|
| "cmd:back" | Go to previously visited page. |
| "cmd:forward" | Go to a page previously viewed before issuing the back command. |
| "cmd:refresh" | Redraw the current page. |
| "cmd:stop" | Stop the current action, like loading a page. |
| "cmd:busy" | Return TRUE if the browser is busy or FALSE if idle. |
| "cmd:blank" | Clear the page. |
Returns TRUE on success or FALSE if an error occurs (except when using "cmd:busy" as explained below).