We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Scroll Bar Arrow Pressed

Thread ID:

Created:

Updated:

Platform:

Replies:

11119 Feb 24,2004 11:46 AM UTC Feb 24,2004 12:54 PM UTC Windows Forms 1
loading
Tags: GridControl
Doug
Asked On February 24, 2004 11:46 AM UTC

Is it possible to figure out when the up or down scroll bar arrow has been pressed if the grid control is showing the first or last line, in other words, there is nothing more to show? Thanks

Administrator [Syncfusion]
Replied On February 24, 2004 12:54 PM UTC

There is a this.gridDataBoundGrid1.VScrollBar.Scroll event you can try to use.
private int lastValue = -1;
private void VScrollBar_Scroll(object sender, ScrollEventArgs e)
{
	if( lastValue == e.NewValue && Control.MouseButtons == MouseButtons.Left)
	{
		Console.WriteLine("No Move...");
	}
	lastValue = e.NewValue;
}

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;