Download 2 Overview - Inductive Automation
Transcript
Appendix A. Components 301 mouseMotion propertyChange Scripting Functions This component has no special scripting functions. 7.3.14 Document Viewer Description The document viewer is capable of loading and displaying a document that is available over the network at a URL. It is capable of displaying simple HTML and RTF documents. Although HTML links will be followed, it is not a fully functional interactive web browser. Its HTML support is rudimentary at best, and there is no JavaScript support. See the system.net.openURL function for a more robust solution for launching webpages, PDFs, etc. This is component is useful for viewing machine manuals or operator protocol in HTML or RTF format. Note that in addition to HTML URLs (like "http://www.google.com"), you can load files as well using the URL format for files. Some examples: file://localhost/C:/myfolder/file.txt file://MyFileServer/resources/manuals/instructions.rtf" Properties Appearance Font Font of text of this component Scripting name Data type Foreground Color The foreground color of the component. Scripting name Data type Background Color font Font foreground Color The background color of the component. Scripting name Data type background Color Behavior Link Action What happens when the user clicks on a hpyerlink inside this document, if it is an HTML document. Scripting name Data type Values © 2011 Inductive Automation linkAction int 0 Launch Externally 1 Launch Internally
Related documents