Move a Control

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

Forum

Support

Gallery

Igor Pro 9

Learn More

Igor XOP Toolkit

Learn More

Igor NIDAQ Tools MX

Learn More