Export (0) Print
Expand All

_CommandBarButtonEvents_Event.Click Event 

Occurs when the user clicks a CommandBarButton object.

Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)

'Usage
WithEvents _CommandBarButtonEvents_Event1 As _CommandBarButtonEvents_Event
Function _CommandBarButtonEvents_Event1_Click(Ctrl As CommandBarButton, _
	CancelDefault As Boolean) As Void
	Handles _CommandBarButtonEvents_Event1.Click
End Function

event _CommandBarButtonEvents_ClickEventHandler Click;
 void add_Click(_CommandBarButtonEvents_ClickEventHandler handler);
 void remove_Click(_CommandBarButtonEvents_ClickEventHandler 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