From Xojo Documentation

Revision as of 19:01, 10 March 2021 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Class (inherits from MobileUIControl)

New in 2020r2

The standard rectangle control for iOS.

Closing Opening
AccessibilityHint Enabled TintColor
AccessibilityLabel FillColor Top fa-lock-32.png
BorderColor Height fa-lock-32.png Visible
BorderThickness Left fa-lock-32.png Width fa-lock-32.png
ControlCount Name fa-lock-32.png
CornerSize Parent fa-lock-32.png
AddConstraint ControlAt RemoveControl
AddControl Refresh SetEffect
ClearFocus RemoveConstraint SetFocus
BlurStyles VibrancyStyles

Sample Code

Sample Code In the Opening event handler, update the rectangle to have thick blue borders, rounded corners and a red fill:

Me.BorderColor = Color.Blue
Me.BorderThickness = 10
Me.CornerSize = 25
Me.FillColor = Color.Red