It is currently Fri May 24, 2013 11:52 pm

All times are UTC - 7 hours [ DST ]




 Page 1 of 1 [ 2 posts ] 
Author Message
 Post subject: Does GTT support ASCII backspace (Dec 8)
PostPosted: Sun Oct 09, 2011 10:55 pm 
LCD!

Joined: Sun Sep 18, 2011 11:49 pm
Posts: 14
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



_________________
Pads
Offline
 Profile  
 
 Post subject:
PostPosted: Tue Oct 11, 2011 9:54 am 
Matrix Orbital
Matrix Orbital

Joined: Fri Aug 17, 2007 10:58 am
Posts: 755
Location: Matrix Orbital
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



_________________
Troy Clark
Technical Support
Matrix Orbital
Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 2 posts ] 

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

cron