LostFocus event

From Xojo Documentation

(Redirected from PushButton.LostFocus)
Event


<see below>.LostFocus()

Supported for all project types and targets.

The Control has lost the focus.

Notes

If the Control has an AcceptFocus property, then it must be set to True for the Control to be capable of getting then losing the focus, e.g. BevelButton.

fa-info-circle-32.png
On Macintosh, controls other than text fields and lists will accept and lose 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
ComboBox
DisclosureTriangle Windows only New in 2005r1
ListBox
PopupMenu Windows and Linux only
PushButton
RadioButton
Scrollbar Windows and Linux only
Slider Windows and Linux only
TabPanel Windows only
TextArea
TextField
UpDownArrows