Brightsign Object Reference Manual (FW 5.1) Manuel d'utilisateur Page 89

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 341
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 88
81
"Size"= An alternative to "CharWidth" and "CharHeight" for specifying either normal size text (0) or double-sized
text (1).
Interfaces: ifTextField, ifStreamSend
The ifTextField interface provides the following:
Cls() As Void: Clears the text field.
GetWidth() As Integer: Returns the width of the text field
GetHeight() As Integer: Returns the height of the text field.
SetCursorPos(x As Integer, y As Integer) As Void: Moves the cursor to the specified position.
Subsequent output will appear at this position.
GetValue() As Integer: Returns the value of the character currently under the cursor.
The ifStreamSend interface provides the following:
SendByte(byte As Integer) As Void: Writes the character indicated by the specified number at the current
cursor position within the text field. It then advances the cursor.
SendLine(string As String) As Void: Writes the characters specified at the current cursor position
followed by the end-of-line sequence.
SendBlock(string As Dynamic) As Void: Writes the characters specified at the current cursor position and
advances the cursor to one position beyond the last character. This method can support either a string or
an roByteArray. If the block is a string, any null bytes will terminate the block.
SetSendEol(string As String) As Void: Sets the sequence sent at the end of a SendLine request. You
should leave this at the default value of "chr(13)" for normal use.
Note: The ifStreamSend interface is also described in the section documenting the various file objects. The interface is
described again here in a manner more specific to the roTextField object.
Vue de la page 88
1 2 ... 84 85 86 87 88 89 90 91 92 93 94 ... 340 341

Commentaires sur ces manuels

Pas de commentaire