GotFocus event

From Xojo Documentation

(Redirected from CheckBox.GotFocus)
Event


Control.GotFocus()

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 AcceptFocus property, then it must be set to True for the Control to be capable of getting the focus, e.g. BevelButton.

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


Controls implementing the GotFocus event

BevelButton Windows only New in 2005r1
Canvas
Checkbox Note : On Macintosh, the full keyboard access option must be enabled in System Preferences/Keyboard
ComboBox
DisclosureTriangle Windows only New in 2005r1
ListBox
PopupMenu Windows and Linux only
PushButton
RadioButton Note : On Macintosh, the full keyboard access option must be enabled in System Preferences/Keyboard
Scrollbar Windows and Linux only
Slider Windows and Linux only
TabPanel Windows only
TextArea
TextField
UpDownArrows Note : On Macintosh, the full keyboard access option must be enabled in System Preferences/Keyboard