Skip to content

Focus events

Samuel Gomes edited this page May 9, 2023 · 1 revision

The FocusIn event occurs when a control gains focus.

The FocusOut event is triggered when a control loses focus.

If another control had focus when a FocusIn event is triggered, a FocusOut event occurs first for such control.

You can set focus to a control programmatically with the SetFocus method.

Controls that respond to FocusIn/FocusOut events

Clone this wiki locally