Windows Datagrid Vertical Scroll bar event

Hello experts I am looking for some solution which i didn''t come across in the net in any sites. In windows datagrid(VB.NET) i want to find whether the vertical scroll bar is clicked down or up. I can find out that the vertical scroll bar is clicked by using "For Each control In mydatagrid.Controls If control.GetType() Is GetType(VScrollBar) Then" Now i want to find whether the scroll bar is clicked down or up.. Any suggestions please?

1 Reply

AD Administrator Syncfusion Team December 19, 2005 05:59 AM UTC

Hi u need to attach a event handler to that Vscroll object which u got in foreach loop.I am attaching a sample to demonstrate.Hope this wil satisfy ur need >Hello experts >I am looking for some solution which i didn''t come across in the net in any sites. >In windows datagrid(VB.NET) i want to find whether the vertical scroll bar is clicked down or up. I can find out that the vertical scroll bar is clicked by using >"For Each control In mydatagrid.Controls >If control.GetType() Is GetType(VScrollBar) Then" > >Now i want to find whether the scroll bar is clicked down or up.. > >Any suggestions please? > >

Vscrol_dtagrd.zip

Loader.
Up arrow icon