Herunterladen Inhalt Inhalt Diese Seite drucken

Beispiel 3: Stringbox - ELECTRONIC ASSEMBLY EA uniTFT Serie Bedienungsanleitung

Inhaltsverzeichnis

Werbung

Macro: String Autoupdate
#SAP
100, 1, 0,0,7,
*3.3/4095)
/**Automatic string: Two calculations;
first one changes, the whole string is redrawn and recalculated
#SDP
101, 1,
0,60,7
Y"
We need two '\\' for masking
Zurück
zu den Befehlen.

Beispiel 3: StringBox

Es wird eine StringBox platziert und mehrere Texte angezeigt.
Macro: ShowStringBox
#SBS
1, 1,15,4,
5,5,1
gray, Textstyle Arial white,
#SBP
1, 400,240,5, 300,150, 5,
Cornerradius 5, Scrowllwidth 30
#SBA
1, 0, "Helptext";
Append at the end
#SBA
1, 0,
"Append more and more lines."
Zurück
zu den Befehlen.
Technische Änderungen vorbehalten. Wir übernehmen keine Haftung für Druckfehler und
Applikationsbeispiele
EA uniTFT050-A
"Analog 1: %d => %.2f
"Time: %h:%m:%s|Date: %M\\%D\\%
/**Plase user defined Datestring: '|' means next line.
/**Background Gray, white outline, Barstyle: Linear
/**margin 5 with linebreak
30
/**Place StringBox Width=250,Height=100,
"This example shows the use of a Stringbox"
V"; (analog(1)), (analog(1)
/**if
/**Add strings.
135 / 172

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis