Programming, 13 programming, Webgui – CUE WebGUI User Manual
Page 13: Overview, Pushbuttons
User Manual
Page 13
www.cuesystem.com
[email protected]
WebGUI
Programming
Overview
All communication with web pages is done through device WebGUIServer which serves events and
function for user programming.
Folowing chapters describe examples how to use events and functions of the server. For more details see
PushButtons
WebGUIServer generates event OnPushButton with parameter pushbuttonID.
Page 1, ID = 1
Page 2, ID = 2
Private Process
WEBServer1_OnButtonPush( pushbuttonid As Long )
Link
WEBServer1.OnButtonPush
Select
pushbuttonid
Case
1
// Code executed after pressing PushButton 1 on Page 1
Case
2
// Code executed after pressing PushButton 2 on Page 1
Case
3
// Code executed after pressing PushButton 3 on Page 2
Case
4
// Code executed after pressing PushButton 4 on Page 2
End Select
End Process