TP Programming command for button name.
syslock
Posts: 45
Hey anyone know if there is a programming command to change the name of a button on a touch panel, for example I have a _Keyboard page the data input buttons' name is KEYB- I'd like to set the name of this button each time I call the _Keyboard page. This way I can have one _Keyboard page that sends out different prefix's on the strings received in data.text.
Cheers.
Cheers.
0
Comments
Is this the built-in keyborad? Do you call it by sending the Keyboard command?
If so, you're probably seeing the text coming back from the TP as a text string.
KEYB-R or whatever.
What you could do is use the button the client uses to open the keyboard to set a flag and track the mode that way.
something along the lines of..
button 101 opens the keyboard for entering address
button 102 opens the keyboard for entering TV Channel Preset Name
button 103 opens keyboard for entering favorite pet names.
etc..
then in the program. (in a very simplified form)
I would do a button array for this and also add some 'zero index' traps and whatnot but this is the general idea.
That is pretty much what I've done just wondering about the command though.
Well, if you're using the built-in keyboard/keypad you're not going to be able to change it.. It's more a function of the TP rather than a function of the button. (I think I understand what your asking...)
Is there a thread were we can post feature requests?
Feedback on AMX tools
http://amxforums.com/showthread.php?t=6247