Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

FocusOut Event, SftMask Object

The control loses the input focus.

Syntax

VB.NETPrivate Sub object_FocusOut(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.FocusOut
VBPrivate Sub object_FocusOut()
C#.NETvoid object_FocusOut(object sender, EventArgumentType e);
VC++void OnFocusOutobject();
CHRESULT OnFocusOutobject();

object

A SftMask object.

Comments

The FocusOut event occurs when the control loses the input focus.

Usually containers such as Visual Basic provide their own events which signal that a control receives or loses the input focus. Visual Basic offers the GotFocus and LostFocus events. 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 SftMask Events | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.