Realbasic.Rect.VerticalCenter
From Xojo Documentation
This item was deprecated in version 2019r2. Please use Rect.VerticalCenter as a replacement. |
Property (As Double )
aRealbasic.Rect.VerticalCenter = newDoubleValue
or
DoubleValue = aRealbasic.Rect.VerticalCenter
Supported for all project types and targets.
or
DoubleValue = aRealbasic.Rect.VerticalCenter
Supported for all project types and targets.
The center of the rect on the Y axis. Changing this value will move the Rect.
Sample Code
This example is in the MouseDrag event. It gets the horizontal and vertical centers of the rect being dragged.