Type | Description | |||
Part as PartEnum | A PartEnum expression being clicked. |
private void ClickingPart(object sender,exontrol.EXSCROLLBARLib.PartEnum Part) { } Private Sub ClickingPart(ByVal sender As System.Object,ByVal Part As exontrol.EXSCROLLBARLib.PartEnum) Handles ClickingPart End Sub |
private void ClickingPart(object sender, AxEXSCROLLBARLib._IScrollBarEvents_ClickingPartEvent e) { } void OnClickingPart(long Part) { } void __fastcall ClickingPart(TObject *Sender,Exscrollbarlib_tlb::PartEnum Part) { } procedure ClickingPart(ASender: TObject; Part : PartEnum); begin end; procedure ClickingPart(sender: System.Object; e: AxEXSCROLLBARLib._IScrollBarEvents_ClickingPartEvent); begin end; begin event ClickingPart(long Part) end event ClickingPart Private Sub ClickingPart(ByVal sender As System.Object, ByVal e As AxEXSCROLLBARLib._IScrollBarEvents_ClickingPartEvent) Handles ClickingPart End Sub Private Sub ClickingPart(ByVal Part As EXSCROLLBARLibCtl.PartEnum) End Sub Private Sub ClickingPart(ByVal Part As Long) End Sub LPARAMETERS Part PROCEDURE OnClickingPart(oScrollBar,Part) RETURN |
<SCRIPT EVENT="ClickingPart(Part)" LANGUAGE="JScript"> </SCRIPT> <SCRIPT LANGUAGE="VBScript"> Function ClickingPart(Part) End Function </SCRIPT> Procedure OnComClickingPart OLEPartEnum llPart Forward Send OnComClickingPart llPart End_Procedure METHOD OCX_ClickingPart(Part) CLASS MainDialog RETURN NIL void onEvent_ClickingPart(int _Part) { } function ClickingPart as v (Part as OLE::Exontrol.ScrollBar.1::PartEnum) end function function nativeObject_ClickingPart(Part) return |
The following VB sample displays a message when the user clicks the exLeftB1Part part of the control:
Private Sub ScrollBar1_ClickPart(ByVal Part As EXSCROLLBARLibCtl.PartEnum) If (Part = exLeftB1Part) Then MsgBox ("Click") End If End Sub
The following VB.NET sample displays a message when the user clicks the exLeftB1Part part of the control:
Private Sub AxScrollBar1_ClickPart(ByVal sender As System.Object, ByVal e As AxEXSCROLLBARLib._IScrollBarEvents_ClickPartEvent) Handles AxScrollBar1.ClickPart If (e.part = EXSCROLLBARLib.PartEnum.exLeftB1Part) Then MsgBox("Click") End If End Sub
The following C++ sample displays a message when the user clicks the exLeftB1Part part of the control:
void OnClickPartScrollbar1(long Part) { if ( Part == 32768 /*exLeftB1Part*/ ) MessageBox( "Click" ); }
The following C# sample displays a message when the user clicks the exLeftB1Part part of the control:
private void axScrollBar1_ClickPart(object sender, AxEXSCROLLBARLib._IScrollBarEvents_ClickPartEvent e) { if (e.part == EXSCROLLBARLib.PartEnum.exLeftB1Part) MessageBox.Show("Click"); }
The following VFP sample displays a message when the user clicks the exLeftB1Part part of the control:
*** ActiveX Control Event *** LPARAMETERS part if ( part = 32768 ) wait window "click" endif