Rect.LocalRect

From Xojo Documentation

Method

Rect.LocalRect(P As Rect) As Rect

New in 2012r1

Supported for all project types and targets.

Returns a new Rect whose coordinates are local to the calling Rect.