Type | Description | |||
Ev as ToolBarEventEnum | A ToolBarEventEnum expression that defines the action that occurred in the control's toolbar. For instance, the user checks/un-checks/click a button in the control's toolbar. | |||
ID as Long | A Long expression that indicates the identifier of the item in the toolbar where the action occurs. For instance, 57648 (0xE130) is the identifier of the Bold item in the control's toolbar. | |||
Item as String | A built-in HTML string that defines the caption of the item in the toolbar where the action occurs. For instance, "<font Comic Sans MS>Comic Sans MS</font>" | |||
Reserved as Variant | Reserved. Currently, it indicates the ToString representation of the item where the action occurred. For instance, "<img>2</img>[id=57648][typ=1][show=1][ttp=Bold (CTRL+B)]" |
Syntax for ToolBarEvent event, /NET version, on:
private void ToolBarEvent(object sender,exontrol.EXHTMLLib.ToolBarEventEnum Ev,int ID,string Item,object Reserved) { } Private Sub ToolBarEvent(ByVal sender As System.Object,ByVal Ev As exontrol.EXHTMLLib.ToolBarEventEnum,ByVal ID As Integer,ByVal Item As String,ByVal Reserved As Object) Handles ToolBarEvent End Sub |
private void ToolBarEvent(object sender, AxEXHTMLLib._IHTMLEvents_ToolBarEventEvent e) { } void OnToolBarEvent(long Ev,long ID,LPCTSTR Item,VARIANT Reserved) { } void __fastcall ToolBarEvent(TObject *Sender,Exhtmllib_tlb::ToolBarEventEnum Ev,long ID,BSTR Item,Variant Reserved) { } procedure ToolBarEvent(ASender: TObject; Ev : ToolBarEventEnum;ID : Integer;Item : WideString;Reserved : OleVariant); begin end; procedure ToolBarEvent(sender: System.Object; e: AxEXHTMLLib._IHTMLEvents_ToolBarEventEvent); begin end; begin event ToolBarEvent(long Ev,long ID,string Item,any Reserved) end event ToolBarEvent Private Sub ToolBarEvent(ByVal sender As System.Object, ByVal e As AxEXHTMLLib._IHTMLEvents_ToolBarEventEvent) Handles ToolBarEvent End Sub Private Sub ToolBarEvent(ByVal Ev As EXHTMLLibCtl.ToolBarEventEnum,ByVal ID As Long,ByVal Item As String,ByVal Reserved As Variant) End Sub Private Sub ToolBarEvent(ByVal Ev As Long,ByVal ID As Long,ByVal Item As String,ByVal Reserved As Variant) End Sub LPARAMETERS Ev,ID,Item,Reserved PROCEDURE OnToolBarEvent(oHTML,Ev,ID,Item,Reserved) RETURN |
<SCRIPT EVENT="ToolBarEvent(Ev,ID,Item,Reserved)" LANGUAGE="JScript"> </SCRIPT> <SCRIPT LANGUAGE="VBScript"> Function ToolBarEvent(Ev,ID,Item,Reserved) End Function </SCRIPT> Procedure OnComToolBarEvent OLEToolBarEventEnum llEv Integer llID String llItem Variant llReserved Forward Send OnComToolBarEvent llEv llID llItem llReserved End_Procedure METHOD OCX_ToolBarEvent(Ev,ID,Item,Reserved) CLASS MainDialog RETURN NIL void onEvent_ToolBarEvent(int _Ev,int _ID,str _Item,COMVariant _Reserved) { } function ToolBarEvent as v (Ev as OLE::Exontrol.HTML.1::ToolBarEventEnum,ID as N,Item as C,Reserved as A) end function function nativeObject_ToolBarEvent(Ev,ID,Item,Reserved) return |