GotFocus event

From Xojo Documentation

Revision as of 13:56, 8 March 2010 by SteffX (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Event


{{{owner}}}.GotFocus()

Supported for all project types and targets.


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

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 Template:platform Template:newinversion
Canvas
Checkbox <ref name="mac">On Macintosh, the full keyboard access option must be enabled in System Preferences/Keyboard</ref>
ComboBox
DisclosureTriangle Template:platform Template:newinversion
ListBox
PopupMenu Template:platform
PushButton <ref name="mac"/>
RadioButton <ref name="mac"/>
Scrollbar Template:platform
Slider Template:platform
TabPanel Template:platform
TextArea
TextField
UpDownArrows <ref name="mac"/>


Notes

<references />