UpDownArrows.AllowFocus

From Xojo Documentation

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

Property (As Boolean )
aUpDownArrows.AllowFocus = newBooleanValue
or
BooleanValue = aUpDownArrows.AllowFocus

Supported for all project types and targets.

If True, the control will be included in the Tab order and can accept the focus. The GotFocus and UpDownArrows.LostFocus events are called at the appropriate times.

Sample Code

This code enables the AllowFocus property. It is in the Open event of the control.

Me.AllowFocus = True