Changing Popup Left, Top Properties
Kari
Junior Member
I keep running into this problem - so maybe someone else has too 
I have a group of popups for controlling different devices like DVD, VCR, Cable TV, etc. If my user has a room with one projector - I want all the control popups to show in the middle of the page. If my user has two projectors - I want all the popups to show lower at the bottom of the page with a "Select Projector Destination" popup at the top.
I keep having to create 2 sets of popups for each device (DVD, VCR, Cable TV, etc). One set aligned in the middle of the page - another set aligned at the bottom. This is incredibly annoying as it doubles the number of pages I have and the only thing that is different is the Top and Left General Properties.
I'm pretty sure I can change where a page starts appearing for an effect, but this doesn't really help. Has anyone figured out a way to get around this?
I have a group of popups for controlling different devices like DVD, VCR, Cable TV, etc. If my user has a room with one projector - I want all the control popups to show in the middle of the page. If my user has two projectors - I want all the popups to show lower at the bottom of the page with a "Select Projector Destination" popup at the top.
I keep having to create 2 sets of popups for each device (DVD, VCR, Cable TV, etc). One set aligned in the middle of the page - another set aligned at the bottom. This is incredibly annoying as it doubles the number of pages I have and the only thing that is different is the Top and Left General Properties.
I'm pretty sure I can change where a page starts appearing for an effect, but this doesn't really help. Has anyone figured out a way to get around this?
Comments
-
I've wanted to do something similar in the past and couldn't find a way.
-
have you tried popup drag?
it seems to remember where the popup was last left. if the popup pages are small it works well. the channel code is 0:70 and I assign it to the background part of the popup. -
Here's a method that should work but requires additional code. Create a large pop up that contains both version of buttons groups on one page use the same channel numbers for similar buttons but assign different VT addresess numbers to the different groups that is of course if your not actually going to send them text. Every button in a group can have the same VT address number to simplify coding. Then in code depending on your situation using the following send commands to determine which group is visible. This should accomplish what you want.
"'^SHO-<variable text address range>,<command value>'" Show or hide a button with a set variable text range. Syntax: SEND_COMMAND <DEV>,"'^SHO-<vt addr range>,<command value>'" Variables: variable text address range = 1 - 4000. command value = (0= hide, 1= show). Example: SEND_COMMAND Panel,"'^SHO-500.504&510.515,0'" Hides buttons with variable text address range 500-504 & 510-515.
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
