Realbasic.Rect.LocalRect

From Xojo Documentation

Method

Realbasic.Rect.LocalRect(P As Realbasic.Rect) As Realbasic.Rect

New in 2012r1

Supported for all project types and targets.

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