wwControl.getBounds

Returns and object that returns x, y, width, height properties that contains the bounds of the object for the absolute position of the control. The optional parameter allows returning a client window relative position that is adjusted for scrollbars.

Note: This function will only return reliable results for objects that are absolutely positioned.

o.wwControl.getBounds(GetAbsolute)

Return Value

object with .x .y .width .height properties

Parameters

ReturnClient
If true returns the x and y coordinates as client relative rather than absolute document positions. Essentially the x and y values are scrollbar adjusted.

See also:

Client Class wwControl


  Last Updated: 9/8/2007 | © West Wind Technologies, 2008