'Declaration
<SRCategoryAttribute("CatFocus")> <System.ComponentModel.BrowsableAttribute(False)> <System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)> <SRDescriptionAttribute("ControlOnGotFocusDescr")> Public Event GotFocus As System.EventHandler
'Usage
Dim instance As FormulaBar Dim handler As System.EventHandler AddHandler instance.GotFocus, handler
[SRCategory("CatFocus")] [System.ComponentModel.Browsable(false)] [System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)] [SRDescription("ControlOnGotFocusDescr")] public event System.EventHandler GotFocus
public event GotFocus: System.EventHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
[SRCategory("CatFocus")] [System.ComponentModel.Browsable(false)] [System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)] [SRDescription("ControlOnGotFocusDescr")] public: __event System.EventHandler* GotFocus
[SRCategory("CatFocus")] [System.ComponentModel.Browsable(false)] [System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)] [SRDescription("ControlOnGotFocusDescr")] public: event System.EventHandler^ GotFocus