how to help pop up pages
nastables
Junior Member
I am just getting started with AMX an I am confused as to how to make programming in the mainframe call a popup page when a button is pushed on the TP
for instance I want tp,ch5 when pushed to call popup1 and when released (or another button pushed) to close the popup. I understand this within the TP but cant find documentation on how to make this happen from the mainline
any assistance to put me out of my misery will be appreciated
nigel
for instance I want tp,ch5 when pushed to call popup1 and when released (or another button pushed) to close the popup. I understand this within the TP but cant find documentation on how to make this happen from the mainline
any assistance to put me out of my misery will be appreciated
nigel
Comments
-
To do it in code you need to send a command to the TP. So, try this:
BUTTON_EVENT[dvTP,5] { PUSH: // TURN ON THE POPUP SEND_COMMAND dvTP,"'@PPN-popup1'" RELEASE: // TURN OFF THE POPUP SEND_COMMAND dvTP,"'@PPF-popup1'" }
For panel commands, open up Software History2 and select the panel that you have, and read through the commands. -
pop ups code
This seems to work ok in netlink but it gives not defined errors in axcess am I missing something? -
The error is because "button_event" does not exist in axcess programming.
BUTTON_EVENT[dvTP,5]
{
PUSH: // TURN ON THE POPUP
SEND_COMMAND dvTP,"'@PPN-popup1'"
RELEASE: // TURN OFF THE POPUP
SEND_COMMAND dvTP,"'@PPF-popup1'"
}
try this instead.
PUSH[dvTP,5]
{
SEND_COMMAND dvTP,"'@PPN-popup1'"
}
RELEASE[DVTP,5]
{
SEND_COMMAND dvTP,"'@PPF-popup1'"
}
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
