LostFocus Event
Applies To
OLEObject object.
Description
Occurs when an ActiveX control loses input focus.
Syntax
Private Sub object_LostFocus( )
object The name of an ActiveX control.
See Also
BeforeClose event, Deactivate event.
Example
This example runs when ListBox1 loses the focus.
Private Sub ListBox1_LostFocus()
' Runs when list box loses the focus.
End Sub