Hi,
Does GTT support ASCII backspace (Dec 8 )? I mean, if the character backspace (Dec 8 ) is sent to the display, does it perform operation of backspace?
Thanks
Does GTT support ASCII backspace (Dec 8)
Moderator: Mods
-
- LCD!
- Posts: 14
- Joined: Sun Sep 18, 2011 11:49 pm
Hi Pads,
The GTT supports only the control characters which are listed in the manual; 7, 10, and 13 decimal.
However, if for instance you are building a keypad to which you'd like to add a backspace key, you can create that functionality with a little work. You can find an example in the GLT240128 Touch Screen appnote, take a look at the DeleteChar() function in the Display.cs file. Essentially, you'll have to use a mono-spaced font, keep track of the cursor position, and finally draw a rectangle over the last character and move the cursor back to execute a backspace operation.
Thanks,
~Troy
The GTT supports only the control characters which are listed in the manual; 7, 10, and 13 decimal.
However, if for instance you are building a keypad to which you'd like to add a backspace key, you can create that functionality with a little work. You can find an example in the GLT240128 Touch Screen appnote, take a look at the DeleteChar() function in the Display.cs file. Essentially, you'll have to use a mono-spaced font, keep track of the cursor position, and finally draw a rectangle over the last character and move the cursor back to execute a backspace operation.
Thanks,
~Troy
Troy Clark
Design & Development
Matrix Orbital
Design & Development
Matrix Orbital