SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
The control loses the input focus.
VB.NET | Private Sub object_FocusOut(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.FocusOut |
VB | Private Sub object_FocusOut() |
C#.NET | void object_FocusOut(object sender, EventArgumentType e); |
VC++ | void OnFocusOutobject(); |
C | HRESULT OnFocusOutobject(); |
object
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. .NET offers the Enter and Leave events, 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 SftButton Object | Object Hierarchy