DesktopUIControl.FocusReceived

From Xojo Documentation

Event


DesktopUIControl.FocusReceived()

New in 2021r3

Supported for all project types and targets.

The control has received the focus and has a selection rectangle around it.

Notes

If the control has an AllowFocus property, then it must be set to True for the control to be capable of getting the focus, e.g. DesktopBevelButton.

fa-info-circle-32.png
On macOS, controls other than text fields and lists will accept focus only if the full keyboard access option is enabled in System Preferences/Keyboard.