Type | Description | |||
ScrollBar as ScrollBarEnum | A ScrollBarEnum expression that specifies the scrollbar being clicked. | |||
ScrollPart as ScrollPartEnum | A ScrollPartEnum expression that indicates the part of the scroll being clicked. |
private void ScrollButtonClick(object sender,exontrol.EXHTMLLib.ScrollBarEnum ScrollBar,exontrol.EXHTMLLib.ScrollPartEnum ScrollPart) { } Private Sub ScrollButtonClick(ByVal sender As System.Object,ByVal ScrollBar As exontrol.EXHTMLLib.ScrollBarEnum,ByVal ScrollPart As exontrol.EXHTMLLib.ScrollPartEnum) Handles ScrollButtonClick End Sub |
private void ScrollButtonClick(object sender, AxEXHTMLLib._IHTMLEvents_ScrollButtonClickEvent e) { } void OnScrollButtonClick(long ScrollBar,long ScrollPart) { } void __fastcall ScrollButtonClick(TObject *Sender,Exhtmllib_tlb::ScrollBarEnum ScrollBar,Exhtmllib_tlb::ScrollPartEnum ScrollPart) { } procedure ScrollButtonClick(ASender: TObject; ScrollBar : ScrollBarEnum;ScrollPart : ScrollPartEnum); begin end; procedure ScrollButtonClick(sender: System.Object; e: AxEXHTMLLib._IHTMLEvents_ScrollButtonClickEvent); begin end; begin event ScrollButtonClick(long ScrollBar,long ScrollPart) end event ScrollButtonClick Private Sub ScrollButtonClick(ByVal sender As System.Object, ByVal e As AxEXHTMLLib._IHTMLEvents_ScrollButtonClickEvent) Handles ScrollButtonClick End Sub Private Sub ScrollButtonClick(ByVal ScrollBar As EXHTMLLibCtl.ScrollBarEnum,ByVal ScrollPart As EXHTMLLibCtl.ScrollPartEnum) End Sub Private Sub ScrollButtonClick(ByVal ScrollBar As Long,ByVal ScrollPart As Long) End Sub LPARAMETERS ScrollBar,ScrollPart PROCEDURE OnScrollButtonClick(oHTML,ScrollBar,ScrollPart) RETURN |
<SCRIPT EVENT="ScrollButtonClick(ScrollBar,ScrollPart)" LANGUAGE="JScript"> </SCRIPT> <SCRIPT LANGUAGE="VBScript"> Function ScrollButtonClick(ScrollBar,ScrollPart) End Function </SCRIPT> Procedure OnComScrollButtonClick OLEScrollBarEnum llScrollBar OLEScrollPartEnum llScrollPart Forward Send OnComScrollButtonClick llScrollBar llScrollPart End_Procedure METHOD OCX_ScrollButtonClick(ScrollBar,ScrollPart) CLASS MainDialog RETURN NIL void onEvent_ScrollButtonClick(int _ScrollBar,int _ScrollPart) { } function ScrollButtonClick as v (ScrollBar as OLE::Exontrol.HTML.1::ScrollBarEnum,ScrollPart as OLE::Exontrol.HTML.1::ScrollPartEnum) end function function nativeObject_ScrollButtonClick(ScrollBar,ScrollPart) return |
The following VB sample displays the identifier of the scroll's button being clicked:
With HTML1 .ScrollPartVisible(exVScroll, exLeftB1Part Or exRightB1Part) = True .ScrollPartCaption(exVScroll, exLeftB1Part) = "1" .ScrollPartCaption(exVScroll, exRightB1Part) = "2" End With
Private Sub HTML1_ScrollButtonClick(ByVal ScrollPart As EXHTMLLibCtl.ScrollPartEnum) MsgBox (ScrollPart) End Sub
The following VB.NET sample displays the identifier of the scroll's button being clicked:
With AxHTML1 .set_ScrollPartVisible(EXHTMLLib.ScrollBarEnum.exVScroll, EXHTMLLib.ScrollPartEnum.exLeftB1Part Or EXHTMLLib.ScrollPartEnum.exRightB1Part, True) .set_ScrollPartCaption(EXHTMLLib.ScrollBarEnum.exVScroll, EXHTMLLib.ScrollPartEnum.exLeftB1Part, "1") .set_ScrollPartCaption(EXHTMLLib.ScrollBarEnum.exVScroll, EXHTMLLib.ScrollPartEnum.exRightB1Part, "2") End With
Private Sub AxHTML1_ScrollButtonClick(ByVal sender As System.Object, ByVal e As AxEXHTMLLib._IHTMLEvents_ScrollButtonClickEvent) Handles AxHTML1.ScrollButtonClick MessageBox.Show( e.scrollPart.ToString()) End Sub
The following C# sample displays the identifier of the scroll's button being clicked:
axHTML1.set_ScrollPartVisible(EXHTMLLib.ScrollBarEnum.exVScroll, EXHTMLLib.ScrollPartEnum.exLeftB1Part | EXHTMLLib.ScrollPartEnum.exRightB1Part, true); axHTML1.set_ScrollPartCaption(EXHTMLLib.ScrollBarEnum.exVScroll, EXHTMLLib.ScrollPartEnum.exLeftB1Part , "1"); axHTML1.set_ScrollPartCaption(EXHTMLLib.ScrollBarEnum.exVScroll, EXHTMLLib.ScrollPartEnum.exRightB1Part, "2");
private void axHTML1_ScrollButtonClick(object sender, AxEXHTMLLib._IHTMLEvents_ScrollButtonClickEvent e) { MessageBox.Show(e.scrollPart.ToString()); }
The following C++ sample displays the identifier of the scroll's button being clicked:
m_html.SetScrollPartVisible( 0 /*exVScroll*/, 32768 /*exLeftB1Part*/ | 32 /*exRightB1Part*/, TRUE ); m_html.SetScrollPartCaption( 0 /*exVScroll*/, 32768 /*exLeftB1Part*/ , _T("1") ); m_html.SetScrollPartCaption( 0 /*exVScroll*/, 32 /*exRightB1Part*/ , _T("2") );
void OnScrollButtonClickHTML1(long ScrollPart) { CString strFormat; strFormat.Format( _T("%i"), ScrollPart ); MessageBox( strFormat ); }
The following VFP sample displays the identifier of the scroll's button being clicked:
With thisform.HTML1 .ScrollPartVisible(0, bitor(32768,32)) = .t. .ScrollPartCaption(0,32768) = "1" .ScrollPartCaption(0, 32) = "2" EndWit