Difference between revisions of "RectControl.AllowTabStop"

From Xojo Documentation

 
Line 18: Line 18:
 
   Me.AllowTabStop = False
 
   Me.AllowTabStop = False
 
</rbcode>
 
</rbcode>
 +
 +
[[Category:API 2.0]]

Latest revision as of 17:49, 7 October 2019

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

New in 2019r2

Supported for all project types and targets.

If True, the RectControl is in the Tab Order and accepts the focus when the user tabs into it. The default is True. If False, the user cannot tab into it to give it the focus. However, the RectControl can gain the focus by other means, such as the user's clicking on it or by setting the focus in code.

Example

This example removes the control from the Tab Order:

Me.AllowTabStop = False