func ClippedParent(c Control) Control {
	var clipped Control

	ctrl := c.Parent()
	clipped = c

	for ctrl != nil {
		if ctrl.Clipped() {
			clipped = ctrl
			break
		}

		ctrl = ctrl.Parent()
	}

	return clipped
}
func ClippedParent(c Control) Control {
	var clipped Control

	ctrl := c.Parent()
	clipped = c

	for ctrl != nil {
		if ctrl.Clipped() {
			clipped = ctrl
			break
		}

		ctrl = ctrl.Parent()
	}

	return clipped
}
func ClippedParent ( c Control ) Control { var clipped Control ctrl := c . Parent ( ) clipped = c for ctrl != nil { if ctrl . Clipped ( ) { clipped = ctrl break } ctrl = ctrl . Parent ( ) } return clipped }
// ClippedParent finds the first c parent with clipped flag
ClippedParent finds the first c parent with clipped flag