DisclosureTriangle.AllowFocus

From Xojo Documentation

Revision as of 15:21, 7 October 2019 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Property (As Boolean )
aDisclosureTriangle.AllowFocus = newBooleanValue
or
BooleanValue = aDisclosureTriangle.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 LostFocus events are called at the appropriate times.

Sample Code

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

Me.AcceptFocus = True