RectControl.TabStop

From Xojo Documentation

Revision as of 19:46, 8 August 2017 by PLefebvre (talk | contribs)
Property (As Boolean )
aRectControl.TabStop = newBooleanValue
or
BooleanValue = aRectControl.TabStop

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.TabStop = False