OLEObjectEvents_LostFocusEventHandler Delegate 

A Delegate type used to add an event handler for the LostFocus event. The LostFocus event occurs when an ActiveX control loses input focus.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in microsoft.office.interop.excel.dll)

Usage

Sub Sub1()
End Sub
Dim oLEObjectEvents_LostFocusEventHandler1 As New OLEObjectEvents_LostFocusEventHandler(AddressOf Sub1)

Syntax

Public Delegate Sub OLEObjectEvents_LostFocusEventHandler()
public delegate void OLEObjectEvents_LostFocusEventHandler();
public delegate Void OLEObjectEvents_LostFocusEventHandler();
public delegate void OLEObjectEvents_LostFocusEventHandler();
In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Microsoft.Office.Interop.Excel Namespace