MobileRectangle

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Class (inherits from MobileUIControl)

New in 2020r2

The standard rectangle control for iOS.

Events
Closing Opening
Properties
AccessibilityHint CornerSize Parent fa-lock-32.png
AccessibilityLabel Enabled TintColor
BorderColor FillColor Top fa-lock-32.png
BorderThickness Height fa-lock-32.png Visible
ControlCount Left fa-lock-32.png Width fa-lock-32.png
Methods
AddConstraint ControlAt RemoveControl
AddControl Refresh SetEffect
ClearFocus RemoveConstraint SetFocus
Enumerations
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