Brightsign Object Reference Manual (FW 5.1) Instrukcja Użytkownika Strona 90

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 341
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 89
82
As with any object that implements the ifStreamSend interface, a text field can be written to using the PRINT
#textfield syntax. See the example below for more details.
It is also possible to write to a text field using the syntax PRINT #textfield, @pos, where pos is the character
position in the textfield. For example, if your textfield object has 8 columns and 3 rows, writing to position 17 writes to row
3, column 2 (positions 0-7 are in row 1; positions 8-15 are in row 2; and positions 16-23 are in the last row).
When output reaches the bottom of the text field, it will automatically scroll.
Example:
meta = CreateObject("roAssociativeArray")
meta.AddReplace("CharWidth", 20)
meta.AddReplace("CharHeight", 32)
meta.AddReplace("BackgroundColor", &H101010) ' Dark grey
meta.AddReplace("TextColor", &Hffff00) ' Yellow
vm = CreateObject("roVideoMode")
tf = CreateObject("roTextField", vm.GetSafeX(), vm.GetSafeY(), 20, 20, meta)
print #tf, "Hello World"
tf.SetCursorPos(4, 10)
print #tf, "World Hello"
Przeglądanie stron 89
1 2 ... 85 86 87 88 89 90 91 92 93 94 95 ... 340 341

Komentarze do niniejszej Instrukcji

Brak uwag

Targus 98.0440.0654.6 manuali

Manuali dei proprietari e guide per l'utente per Visualizzazione dei filtri per la privacy Targus 98.0440.0654.6.
We fornisce 1 manuali pdf Targus 98.0440.0654.6 per scaricare gratuitamente in base al tipo di documento: Scheda Tecnica






Più prodotti e manuali per Visualizzazione dei filtri per la privacy Targus

Modelli Tipo di Documento
Nessuno