<TFT:WebBrowser Name='InfoWebBrowser'
Description
The WebBrowser control is used to present information and help pages built in HTML in a web browser in the CWT 2120 display. This control allows the creator of the user interface to add more flexible information pages in HTML. Such pages are, typically, used to display help information and guides on how to use the terminal.
Properties
Height
Unsigned integer. Value range 0–480.
Defines the height on the display.
Location
Type/Value: String in format “X,Y” where X and Y are both unsigned integers. Value range for X is 0–640 and value range for Y is 0–480.
Description:The Location property specifies where the web browser shall be placed in relation to the parent control. If a web browser is defined in a panel the Location property will specify the web browser's position within the panel. The position thus depends on both where the panel is placed (panels also have a Location property) and where the web browser is placed within the panel.
Name
Type/Value: A string of any length
Description:The name of the WebBrowser control.
NavigateUrl
Type/Value: A string with a valid URL, local or global
Description:The NavigateUrl property defines the start URL that the WebBrowser control is set to navigate to each time a popup panel containing a web browser is opened.
Set a local URL as the path to the HTML file like
"\Storage Card\Media\html\index.htm”.
Size
Type/Value: String in format “A,B” where A and B are both unsigned integers. Value range for A is 0–640 and value range for B is 0–480.
Description:Defines both the height and the width of the WeBrowser with one property. Example: “640,480” sets the width to 640 pixels and the height to 480 pixels.
Width
Type/Value: Unsigned integer. Value range 0–640.
Description:Defines the width on the display.
Control information
WebBrowser included in popup panels that are opened with button-click function ‘OnPopupPanelOpen’ will automatically navigate to the URL given by the property NaviagateUrl when the popup panel is displayed. There are two other special cases; Info and Help Web browser.