Is there a way to move the same panel using two buttons? I have two buttons, both move the same panel but to different positions. Or is there a way to make one button do three different things so it can be clicked three times?
$if($isvisible_c(Artist)
,
$imagebutton($sub($get(bar.width),72),$get(play.button2.top),30,18,$get_ps_global(image.path)'/bt/list_off.png',$get_ps_global(image.path)'/bt/list_on.png',PANELSHOW:Artist:0;REFRESH,,)
$movepanel_c(Artist,1,$add($get(button.top),46),$get(bar.width),$sub(%_height%,78))
$movepanel_c(Graphical Browser,0,0,0,0)
,
$imagebutton($sub($get(bar.width),72),$get(play.button2.top),30,18,$get_ps_global(image.path)'/bt/list_off.png',$get_ps_global(image.path)'/bt/list_on.png',PANELSHOW:Similar:0;PANELSHOW:List:0;PANELSHOW:Artist:1;REFRESH,,)
$movepanel_c(Artist,$get(playlist.left),$sub($add($get(playlist.top),$get(playlist.h)),$get(playtabs.h)),$get(playlist.w),$get(playtabs.h))
)
$if($isvisible_c(Artist)
,
$imagebutton($sub($get(bar.width),36),$get(play.button2.top),30,18,$get_ps_global(image.path)'/bt/list_off.png',$get_ps_global(image.path)'/bt/list_on.png',PANELSHOW:Artist:0;REFRESH,,)
$drawrect(0,330,$add($get(bar.width),2),25,60-60-60,25-25-25,RESERVED)
$font(Myriad Web,10,bold)$drawtextex(%artist% | %genre%,0,334,$get(bar.width),,$get(track.color2),hcenter vtop end_ellipsis)
$movepanel_c(Artist,1,$add($get(button.top),46),$get(bar.width),280)
$movepanel_c(Graphical Browser,0,355,$add($get(bar.width),1),$sub(%_height%,383))
,
$imagebutton($sub($get(bar.width),36),$get(play.button2.top),30,18,$get_ps_global(image.path)'/bt/list_off.png',$get_ps_global(image.path)'/bt/list_on.png',PANELSHOW:Similar:0;PANELSHOW:List:0;PANELSHOW:Artist:1;REFRESH,,)
$movepanel_c(Artist,$get(playlist.left),$sub($add($get(playlist.top),$get(playlist.h)),$get(playtabs.h)),$get(playlist.w),$get(playtabs.h))
)
Using this code both buttons move the artist panel to the same place?