Component: GLCD Textfield (Graphical Library)
From Flowcode Help
Jump to navigationJump to search
Author | Matrix TSL |
Version | 1.2 |
Category | Graphical Library |
Contents
GLCD Textfield component
A component to simplify the process of drawing text to a graphical display. Allows the graphical LCD to be used more like a standard alphanumeric display. Compatible with the Graphical LCDs.
Detailed description
No detailed description exists yet for this component
Examples
Example program showing how to use the component with a graphical display.
Downloadable macro reference
![]() |
Clear |
Clears all text from the display | |
![]() |
Return |
![]() |
PrintString |
Prints a string of ASCII characters to the display | |
![]() |
Text |
Enter the text or variable to print to the display | |
![]() |
Return |
![]() |
PrintASCII |
Prints a single ASCII character to the display | |
![]() |
Character |
Holds an ASCII value e.g. 'A' | |
![]() |
Return |
![]() |
PrintNumber |
Prints a number to the display as an ASCII string | |
[[File:]] - | Number |
Enter the number or variable to print to the display | |
![]() |
Return |
![]() |
ClearLine |
Clears a single line of text from the display | |
![]() |
Line |
Line to clear. Range 0 to CharacterHeight - 1 | |
![]() |
Return |
![]() |
GetCursorPosition |
Gets the current pixel position of the cursor within the coordinate space | |
![]() |
Axis |
0=X, 1=Y | |
![]() |
Return |
![]() |
SetBackgroundColour |
![]() |
Pixel_Colour |
![]() |
Return |
![]() |
SetForegroundColour |
![]() |
Pixel_Colour |
![]() |
Return |
![]() |
DrawRectangle |
![]() |
X1 |
![]() |
Y1 |
![]() |
X2 |
![]() |
Y2 |
![]() |
Transparent |
![]() |
Solid |
![]() |
Return |
![]() |
SetBackgroundColour |
![]() |
Red |
![]() |
Green |
![]() |
Blue |
![]() |
Return |
![]() |
SetForegroundColour |
![]() |
Red |
![]() |
Green |
![]() |
Blue |
![]() |
Return |
![]() |
DrawRectangle |
![]() |
X1 |
![]() |
Y1 |
![]() |
X2 |
![]() |
Y2 |
![]() |
Transparent |
![]() |
Solid |
![]() |
Return |