Type | Description | |||
Part as PartEnum | A PartEnum expression being clicked. |
private void ClickPart(object sender,exontrol.EXSCROLLBARLib.PartEnum Part) { } Private Sub ClickPart(ByVal sender As System.Object,ByVal Part As exontrol.EXSCROLLBARLib.PartEnum) Handles ClickPart End Sub |
private void ClickPart(object sender, AxEXSCROLLBARLib._IScrollBarEvents_ClickPartEvent e) { } void OnClickPart(long Part) { } void __fastcall ClickPart(TObject *Sender,Exscrollbarlib_tlb::PartEnum Part) { } procedure ClickPart(ASender: TObject; Part : PartEnum); begin end; procedure ClickPart(sender: System.Object; e: AxEXSCROLLBARLib._IScrollBarEvents_ClickPartEvent); begin end; begin event ClickPart(long Part) end event ClickPart Private Sub ClickPart(ByVal sender As System.Object, ByVal e As AxEXSCROLLBARLib._IScrollBarEvents_ClickPartEvent) Handles ClickPart End Sub Private Sub ClickPart(ByVal Part As EXSCROLLBARLibCtl.PartEnum) End Sub Private Sub ClickPart(ByVal Part As Long) End Sub LPARAMETERS Part PROCEDURE OnClickPart(oScrollBar,Part) RETURN |
<SCRIPT EVENT="ClickPart(Part)" LANGUAGE="JScript"> </SCRIPT> <SCRIPT LANGUAGE="VBScript"> Function ClickPart(Part) End Function </SCRIPT> Procedure OnComClickPart OLEPartEnum llPart Forward Send OnComClickPart llPart End_Procedure METHOD OCX_ClickPart(Part) CLASS MainDialog RETURN NIL void onEvent_ClickPart(int _Part) { } function ClickPart as v (Part as OLE::Exontrol.ScrollBar.1::PartEnum) end function function nativeObject_ClickPart(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