RectControl.AutoDeactivate

From Xojo Documentation

(Redirected from SegmentedControl.AutoDeactivate)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Boolean )
aRectControl.AutoDeactivate = newBooleanValue
or
BooleanValue = aRectControl.AutoDeactivate

Supported for all project types and targets.

Determines whether the control should be deactivated (on macOS) when the parent window is deactivated. The default is True.

Example

The following line is in the Open event and turns AutoDeactivate off.

Me.AutoDeactivate = False