DesktopUIControl.FocusReceived

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
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

This property must be set to True for the control to be capable of getting the focus.

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.