Sets the content displayed in a Browser Control with a new html text.
The function is only active for controls in the same task's form.
|
Syntax:
|
BrowserSetContent(control name, value)
|
Parameters:
|
control name: The name of the Browser control.
value: The value to which the variable will be set to. The attribute is Alpha, Unicode, or BLOB (with ANSI/Unicode content).
|
Returns:
|
TRUE – If the control was set.
FALSE – If the action failed, that is, if there is an internal error, such as a non-existing control or the error returns from the control.
|
Note:
|
This is a client-side only function.
|
Exceptions:
|
This function is not supported in Web Client tasks.
|
See also:
|
BrowserGetContent, BrowserScriptExecute
How Do I Interact with a Web Page Running in a Browser Control?
The Online and Rich Client Samples project (program HG45 and RHG45)
|