MessageBox
iqbalyounas
Posts: 5
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
0
Comments
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
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: Leaving <page name> empty will show this popup on the current page whatever it is, Like this:
To change the message 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