Method XbpWindow():getInvalidRect() Foundation

Get current invalid rectangle of the Xbase Part.

Syntax
:getInvalidRect() --> aInvRect
Return

This method returns an array with the current invalid rectangle of the Xbase Part. If the invalid rectangle is empty, the method returns the array {0,0,0,0}.

Description

:getInvalidRect() returns the current invalid rectangle of the Xbase Part. A non-empty invalid rectangle is redrawn by the system at the next opportunity, and the event xbeP_Paint is generated. In addition, a code block assigned to the :paint instance variable is evaluated automatically. If owner-drawing has been enabled for the Xbase Part, redrawing the invalid rectangle is performed synchronously via xbeP_Draw and similar events. See method :invalidateRect() for further information.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.