Cue WebGUI Uživatelský manuál Strana 27

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 30
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 26
User Manual
Page 27
www.cuesystem.com
WebGUI
Functions
Bargraphs
SetBargraphValue(bargraphid As Long, newvalue As Long) As Boolean
Function sets all Bargraphs identied by bargraphid to newvalue. More bagraphs can use the same ID and
all of them are set to the same value.
The function returns True if bargraphid is from 1 to 256 and newvalue is >= 0 and <= 100. Else it returns
false.
GetBargraphValue(bargraphid As Long) As Long
Function returns current value of Bargraph identied by bargraphid.
TextBoxes
SetTextBoxText(textboxid As Long, newtext As Text) As Boolean
This function sets current text of TextBox identied by textboxid to newtext.
As newtext you can use direct value of text (TextBoxSetText (“Hello”)). In this case you will lose the
possibility of changing the language of this text. You can also use addressof text (TextBoxSetText
(txtHello)) as parameter (txtHello must be declared in MyCommon/Text resources). In this case it is
possible to change the language of this caption.
The function returns True if textboxid is from 1 to 32 and text length is max. 64 characters. Else it
returns false.
GetTextBoxText(textboxid As Long, ByRef currenttext As Text)
Text variable currenttext is lled by current value of the TextBox identied by textboxid.
Other
DisableControl () As Boolean
This function disconnects all clients connected to the server and closes server.
EnableControl () As Boolean
This function starts server.
IsControlEnabled () As Boolean
This function returns True if server is running. Else it returns False.
Zobrazit stránku 26
1 2 ... 22 23 24 25 26 27 28 29 30

Komentáře k této Příručce

Žádné komentáře