WebView

<< Click to Display Table of Contents >>

Navigation:  Advanced Features > Control View >

WebView

Web View allows VERTEX' Control View to be accessed by any device in the same local network through any web browser.

Web View's URL needs to start with https://www.

Control View and Web View are passing values in java script.

 

controlviewer-webview_zoom65

Possible VERTEX scripts addressing WebView client in UpperCamelCase:

 

 

Controls.ButtonSlider1.GetState()

Controls.ButtonSlider1.SetState(value)

Controls.Label1.GetText()

Controls.Label1.SetText(value)

Controls.Textbox1.GetText()

Controls.Textbox1.SetText(value)

Controls.Slider1.GetValue()

Controls.Slider1.SetValue(value)

Controls.Whiteboard1.ShowColorButton(value)

Controls.Whiteboard1.ShowColorPicker()

Controls.Whiteboard1.ShowPenSizeControl(value)

Controls.Whiteboard1.SetPenSize(size)

Controls.Whiteboard1.SetPenColor(color)

Controls.Whiteboard1.ShowEraser(value)

Controls.Whiteboard1.ToggleEraser()

Controls.Whiteboard1.ShowClearButton(value)

Controls.Whiteboard1.ShowSaveButton(value)

Controls.Whiteboard1.Save()

Controls.Whiteboard1.Clear()

Controls.Led1.GetState()

Controls.Led1.SetState(value)

Controls.ColorPicker1.GetColor()

Controls.ColorPicker1.SetColor(value)

Controls.CheckBox1.GetState()

Controls.CheckBox1.SetState(value)

Controls.ToggleImage1.GetState()

Controls.ToggleImage1.SetState(value)

Controls.WebBrowser1.SetUrl(value)

Controls.DropDown1.GetSelectedIndex()

Controls.DropDown1.SetSelectedIndex(value)

Controls.DropDown1.GetSelectedText()

Controls.ToggleButton1.GetState()

Controls.ToggleButton1.SetState(value)

WebView.Reload()

WebView.GotoPage(page)

WebView.Goto(webView, page)