Configuration
The following section explains the configuration of a Webbrowser element, based on an example.
Once the Webbrowser element has been dragged from the toolbox to the visualization page, the position and size of the element can be modified via the property "Position". In addition, variables for operating the browser can be specified in the "control variables". In this example the variables "sUrlAddress", "bShow", "bBack" and "bForward" that have been declared in the "MAIN" program are entered:
In order to be able to change the variables from the visualization declared in the program "MAIN", first three rectangle elements are dragged to the visualization. The first element with the text "<" is linked in the input configuration with "bBack" for the switchover function, the second with the text ">" is linked with "bForward" and the third with the text "OK" is linked with "bShow".
A fourth rectangle element is then added, in order to be able to change the URL address of the web browser. The placeholder "%s" is entered in the property "Text" and "sUrlAddress" is entered in "Text variable", so that the element can display the address.
The "OnMouseClick" event is used in the input configuration, in order to be able to change the URL address in the visualization. Here, a "Write variable" action is added and linked to the variable "sUrlAddress".