Component: GLCD Textfield (Graphical Library)

From Flowcode Help
Jump to navigationJump to search
Author Matrix TSL
Version 1.2
Category Graphical Library


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.

Component Pack

FREE

Detailed description

No detailed description exists yet for this component

Examples

Example program showing how to use the component with a graphical display.

FC6 Icon.png GLCD TextField Example


Downloadable macro reference

Fc9-comp-macro.png Clear
Clears all text from the display 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png PrintString
Prints a string of ASCII characters to the display 
Fc9-string-icon.png - STRING Text
Enter the text or variable to print to the display 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png PrintASCII
Prints a single ASCII character to the display 
Fc9-u8-icon.png - BYTE Character
Holds an ASCII value e.g. 'A' 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png PrintNumber
Prints a number to the display as an ASCII string 
Fc9-s16-icon.png - INT Number
Enter the number or variable to print to the display 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png ClearLine
Clears a single line of text from the display 
Fc9-u8-icon.png - BYTE Line
Line to clear. Range 0 to CharacterHeight - 1 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png Cursor
Moves the current pixel position of the cursor within the coordinate space 
Fc9-u16-icon.png - UINT X
Sets the pixel position on the X plane, 0 is the left most pixel 
Fc9-u16-icon.png - UINT Y
Sets the pixel position on the Y plane, 0 is the top most pixel 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png PrintFormattedNumber
Will allow you to print a number up to 32-bits with signed or unsigned formatting. Signed = -2147483648 to 2147483647 Unsigned = 0 to 4294967295 
Fc9-u32-icon.png - ULONG Number
Enter the number or variable to print to the display 
Fc9-bool-icon.png - BOOL Format
0 = Signed, 1 = Unsigned 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png GetCursorPosition
Gets the current pixel position of the cursor within the coordinate space 
Fc9-u8-icon.png - BYTE Axis
0=X, 1=Y 
Fc9-u16-icon.png - UINT Return



Property reference

Fc9-prop-icon.png Properties
Fc9-type-17-icon.png gLCD Object
Graphical LCD Object to draw the bitmap image to 
Fc9-type-16-icon.png Font
Chooses one of the fonts define dby the display component. 
Fc9-type-7-icon.png Entire Display
Specifies if we are using the entire display or a portion of the display 
Fc9-type-7-icon.png Orientation 1/3
Swaps the pixel width and height for orientations 1 and 3. 
Fc9-type-21-icon.png X Coordinate
X coordinate for top left of the text field 
Fc9-type-21-icon.png Y Coordinate
Y coordinate for top left of the text field 
Fc9-type-21-icon.png Pixel Width
Pixel width of selected display 
Fc9-type-21-icon.png Pixel Height
Pixel height of selected display 
Fc9-type-7-icon.png ColourDisplay
Automatically detects if the graphical LCD object is colour or monochrome