TouchScreen
David_w
Junior Member
What type of code would allow me to show the numbers I type, to also show up on the touchscreen. I think its some sort of string I should be using. I am trying to get the channel 1-99 on the VCR to be displayed also on the touch screen. I have the button setup on my touchscreen as a text input (is that correct) but I have no ideal how to write the code. Any help would be great as I learn program.
Comments
-
Do you just want the number to show on the panel as it is pressed or to be displayed till another number is inputed?
-
Just displayed tell another number is pressed. When I hit Enter I would like it to go back to default of being blank.
-
You could open the keypad popup on the touchpanel. ( SEND_COMMAND <DEV>,"'@AKB-<initial text>;<prompt text>'" )
This should do what you need. You will have to create a STRING: event for the touchpanel to get the numbers entered tho.
Jeff -
How do I create a string event? I went to programer class about 6 months ago, but I haven't had anytime write code until this week. Now I'm trying to figure it out and it's driving me crazy? Help please......
-
Just create in your DEFINE_EVENT section something like that:
DATA_EVENT[dvTP] // dvTP is your Touch Panel Device
{
STRING: // it will trigger when you receive a string from touch panel
{
// all texts received from touch panel will be placed in a system variable named DATA.TEXT type CHAR
}
}
Vinc -
Anyone know where to get some good sample code at?
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums
