can't make close popup group
adys
Posts: 395
SEND_COMMAND Panel,"'@CPG-Map Preset'" // hide all preset screen group
"Map Preset" is the name pasted from TPdesign, no mistakes.
I event tried to close the group by closing one specific page
SEND_COMMAND Panel,"'@PPK-Preset Map Kitchen Lights'"
not working
I done it before and it worked with other groups, what is wrong?
Amd BTW, its not support to work that if I open one popup from a group, its close the others from the same group?
"Map Preset" is the name pasted from TPdesign, no mistakes.
I event tried to close the group by closing one specific page
SEND_COMMAND Panel,"'@PPK-Preset Map Kitchen Lights'"
not working
I done it before and it worked with other groups, what is wrong?
Amd BTW, its not support to work that if I open one popup from a group, its close the others from the same group?
0
Comments
'@CPG-' is a command to set page color.
There is no command to close a popup group
Modero panels:
'@CPG' will remove all popups from the assigned group. This will NOT just close the group!
The '@PPK-' should be the right choice for both panel types. But I'm not sure if it will affect a popup group, if the assigned popup is in the group but not open at the moment.
Thats what I got from here..
http://www.amxforums.com/showthread.php?t=2791
So what it they way to close a group by its name?
PPK will work only for a specific page inside the gruop
Changing the page not suppose to close the rest from the same gruop?