Skip to content

Focus events

Fellippe Heitor edited this page Oct 31, 2019 · 5 revisions

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