SetWebStartUrl Method (RUNTIME)
PLB Web Only, 10.9
The SetWebStartUrl method changes the URL loaded into a WINDOW or HTMLCONTROL when WebView support is required. This allows a custom start page to be used. The method uses the following format:
|
|
|
|
|
|
|
|
Where:
Optional. A Program Execution Label.
Required. A RUNTIME object.
Optional. A Numeric Variable that receives the error result for the execution of the method.
Required. A Character String Variable or string literal that defines the URL (Uniform Resource Locator) to be loaded.
Optional. A Numeric variable or decimal number that invokes special behaviors for the method.
Flags Affected: EOS, OVER, ZERO
Note the following:
The EOS and OVER flags are always cleared.
The ZERO flag is always set to TRUE with a return value of zero.
The optional {options} values changes the execution behavior of the SetWebStartUrl method as follows:
|
Value |
Description |
|
0 |
The URL is given is a fully qualified URL. |
|
1 |
The URL is given as a file name of a file located in the plbwv_html directory. |
The {return} value is zero if the SetWebStartUrl method executes successfully.
The error values returned in {return} are defined as follows:
|
Error |
Description |
|
1 |
Local URL not supported. |
|
2 |
File not found. |
Setting the URL to a NULL string causes the default start URL to be used.
See Also: RUNTIME, Method Syntax
![]() |