Text input, Keyboard entry,etc working parallel between multiple panels
ajish.raju
Posts: 185
Looking at options where text input button, keyboard entry and page flip via password protection from touch panel can work parallel between panels. I am not sure if there is an option available
0
Comments
Use KEYB- to find a keyboard entree of the internal keyboard
Use KEYP- to find a keypad entree of the internal keypad
Do your stuff when it is wright or not.
Something like this, fill it with your data.
DATA_EVENT[dvTP1] // touchpanel data event
{
ONLINE: { }
STRING:
{
IF (LENGTH_STRING(TP1_BUFFER)>0)
{
IF(FIND_STRING(TP1_BUFFER,'KEYB-',1)) { find and compare to stored variable and do action }
IF(FIND_STRING(TP1_BUFFER,'KEYP-',1)) { find and compare to stored variable and do action }
}
CLEAR_BUFFER TP1_BUFFER;
}
}
DATA_EVENT[dvTP2]
{
ONLINE: { }
STRING:
{
IF (LENGTH_STRING(TP2_BUFFER)>0)
{
IF(FIND_STRING(TP2_BUFFER,'KEYB-',1)) { find and compare to stored variable and do action }
IF(FIND_STRING(TP2_BUFFER,'KEYP-',1)) { find and compare to stored variable and do action }
}
CLEAR_BUFFER TP2_BUFFER;
}
}
To see it as it's being entered, yes, you are going to have to roll your own routine. It's really not as difficult as it might seem; the worst part is the keyboard itself and maintaining shift states, especially non-Western alphabets. But it's more tedious than difficult.