Program Control of Popup Location...
sonny
Junior Member
Is there a command to set the location of a popup from Netlinx? I can find commands to change the show/hide effects locations but not the default location. I have a message dialog that I'd like to load based on location of the button pressed. Swear I've seen this before but can't find it...
Thanks
Thanks
Comments
-
I was playing around with transitions the other day and was hoping to find a command for this too. Unfortunately I didn't find an answer. However, you could use the button position command, make the popup full screen, then move the alert button to where you'd like it.
-
nicholasjames wrote: »I was playing around with transitions the other day and was hoping to find a command for this too. Unfortunately I didn't find an answer. However, you could use the button position command, make the popup full screen, then move the alert button to where you'd like it.
yea, I may have to do that, although I've multiple buttons in the window which may be shown, or not, depending upon context. Kind of a pain having to create maps for every possible location. -
This should be a NetLinx Enhancement Request.
This should be a NetLinx Enhancement Request.
Can someone @ AMX put this in as a requested change.
ADD THE ABILITY TO CHANGE THE POPUP POSITION AT RUNTIME.
Please.
I played with those commands as well. The popup position did not change no matter what I did.
Does anyone know what these functions do?
"'@PHP-<popup page name>;<X coordinate>,<Y coordinate>'"
"'@PSE-<popup page name>;<show effect name>'"
I made the calls and nothing changed at all. -
jdonachiue@shaw.ca wrote: »This should be a NetLinx Enhancement Request.
Can someone @ AMX put this in as a requested change.
ADD THE ABILITY TO CHANGE THE POPUP POSITION AT RUNTIME.
Please.
I played with those commands as well. The popup position did not change no matter what I did.
Does anyone know what these functions do?
"'@PHP-<popup page name>;<X coordinate>,<Y coordinate>'"
"'@PSE-<popup page name>;<show effect name>'"
I made the calls and nothing changed at all.
Probably exactly what they look like, but only on specific panels and firmware revisions. Wouldn't shock me if they only apply to the new superwide ones. On the bright side, such additions usually find their way to older modules in a firmware revision, as long as the hardware can support it. -
jdonachiue@shaw.ca wrote: »
PHP changes the Hide Effect position, and PSE changes the Show Effect Type. There are also commands for Show Effect position, and Hide Effect type, so make sure you are using the right ones.
Unfortunately, the position commands don't change where the popup ultimately ends up (where you place it in TP4 is where it stays), but where it "goes to" or "comes from" when you show or hide it. So if your popup is at position 50,30 and the Show Effect is "Slide from Top" and the Show Effect Position is set at 30 then the popup will appear to Slide in from it's top edge. This is great for making "drawers" and drop down menus.DHawthorne wrote: »Probably exactly what they look like, but only on specific panels and firmware revisions. Wouldn't shock me if they only apply to the new superwide ones. On the bright side, such additions usually find their way to older modules in a firmware revision, as long as the hardware can support it.
The show and hide effects work on most of the TPs I use (Modero, MVP) with current firmware. -
Can button locations be changed during run time?
Sent from my MB865 using Tapatalk -
Yes they can, I do this occasionally and have all of my sources buttons available - and just move them around as needed dependent on zone & source availability.TurnipTruck wrote: »Can button locations be changed during run time?
I am sure there is an individual command for it, but I use it with BMF - it's the R (set rectangle I think?) attribute.
As I think about this, I *think* I've tried this on a popup with a variable address and was able to move it around, though cannot confirm at the moment. -
I've had thoughts of making a screen saver with images that appear on different locations on the screen. Moving a popup around would be a good way to accomplish.
Sent from my MB865 using Tapatalk -
Just wanted to confirm that BMF with the "R" attribute and BSP do NOT move a popup, they will move buttons however.
-
Well then you should be able to put a dynamic image on a button and then use the commands that JJ pointed out to change the location. Put the button on a full page pop up when incactive or selected and then use the tranparency commands to fade the button in and out when you transition from one pic to another. Fade out in one location and fade in at another.TurnipTruck wrote: »I've had thoughts of making a screen saver with images that appear on different locations on the screen. Moving a popup around would be a good way to accomplish.
Sent from my MB865 using Tapatalk
Personnally I don't put pics on TPs any more since I don't want them on when they're not in use. Too expensive to burn out so unless it's on an iPad I wouldn't bother. If you limit this to the customer having to actively select the feature it wouldn't be so bad but I used to do mine so that it started any time the panel was inactive and that's not good.
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
