wwControl.setLocation

Sets the absolute position of a control.

o.wwControl.setLocation(x,y,AddScroll)

Parameters

x
Left position. You can also pass a Location or Bounds object (x/y properties)

y
Top position

AddScroll
If true adds the scroll position to the coordinates. Useful if you retrieve clientX value in events and need to adjust for absolute offset.

See also:

Class wwControl


  Last Updated: 12/31/2006 | © West Wind Technologies, 2008