HeaderPane
Main
Hide
Share Link
Print

FocusIn Event, SftBox Object

The control receives the input focus.

Syntax

C#void object_FocusIn(object sender, EventArgumentType e);
VB.NETPrivate Sub object_FocusIn(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.FocusIn
C++void OnFocusInobject();
CHRESULT OnFocusInobject();

object

A SftBox object.

Comments

The FocusIn event occurs when the control receives the input focus.

Usually containers provide their own events which signal that a control receives or loses the input focus. .NET offers the Enter and Leave events and Visual C++ applications can handle the WM_SETFOCUS and WM_KILLFOCUS Windows messages (OnSetFocus and OnKillFocus). For containers where such a facility is not available, the FocusIn and FocusOut events can be used instead. It is preferable to use events or mechanisms offered by the container rather than the FocusIn or FocusOut events.

Changing the input focus to another control or window while handling this event is not supported (including display of message boxes).

See Also SftBox Object | Object Hierarchy


Last Updated 11/22/2026 - (email)
© 2026 Softel vdm, Inc.