Export (0) Print
Expand All

OLEObjectEvents_Event.GotFocus Event 

Occurs when an ActiveX control gets input focus.

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

'Usage
WithEvents oLEObjectEvents_Event1 As OLEObjectEvents_Event
Function oLEObjectEvents_Event1_GotFocus() As Void
	Handles oLEObjectEvents_Event1.GotFocus
End Function

event OLEObjectEvents_GotFocusEventHandler GotFocus;
 void add_GotFocus(OLEObjectEvents_GotFocusEventHandler handler);
 void remove_GotFocus(OLEObjectEvents_GotFocusEventHandler handler);
In JScript, you can handle the events defined by a class, but you cannot define your own.

Development Platforms

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

Target Platforms

Community Additions

ADD
Show:
© 2014 Microsoft