Skip to main content
Version: 9.0.2

CONTROL:get_parent_bounds

CONTROL:get_parent_bounds()

Computes the parent-relative bounds for this control. Parent relative bounds are equivalent to the resolved bounds of this control with the parent's padding applied.

Returns

TypeDescription
#numberThe x-coordinate of the control's parent-relative bounds.
#numberThe y-coordinate of the control's parent-relative bounds.
#numberThe width of the control's parent-relative bounds.
#numberThe height of the control's parent-relative bounds.