MessageBox
iqbalyounas
Junior Member
Sorry about this question
Can I write amessage inside the code when i press the button on the touch panel this message appear for me
with best regards for all
Can I write amessage inside the code when i press the button on the touch panel this message appear for me
with best regards for all
Comments
-
you can...
on the button_event use
SEND_COMMAND dvTP, "'@PPN-POPUPNAME;PAGENAME'"
where POPUPNAME is the name of your new popup page message box
PAGENAME is the current base page.
If you need to send a text message use
SEND_COMMAND dvTP,"'^TXT-x,1,TEXTHERE'"
where x is your address channel on the TP item in question
You can find all these commands in the Programming sections of the TP manuals or on AMX PI -
Jimweir192 is right!!
As Jimweir192 said, but with more clarification
First you have to create a popup page containing your message and name it "Warning" for example, and assign an address port and code to the message box
Assuming you have MVP panel:
To show this popup:SEND_COMMAND Panel,"'@PPN-<popup page name>;<page name>'"
Leaving <page name> empty will show this popup on the current page whatever it is, Like this:SEND_COMMAND Panel,"'@PPN-<popup page name>'"
To change the message text:Send_Command Panel,"'^TXT-<variable text address range>,<button states range>,<new text>'"
<variable text address range> : is the Address Code you specified for the message field.
<button states range>: to which state send this text
1 OFF
2 ON
0 ALL
NOTE : If you have a different panel type these commands may differ, so please refer to AMX PI or The Instructions Manual
Regards
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