Move a Control
Posted August 5th, 2010 by RGerkin
in
Move a control 'dx' and 'dy' from its current location without knowing its current location:
Function MoveControl(name,dx,dy[,win]) string name,win variable dx,dy win=selectstring(paramisdefault(win),win,winname(0,1)) controlinfo /w=$win $name modifycontrol $name pos={v_left+dx,v_top+dy}, win=$win End

Nice! Since WinName(0,1)
Nice!
Since WinName(0,1) returns the top Graph window, you might want to use WinName(0,65) so you get the top graph OR panel window.
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com