In a message dated 10-13-2004 2:45:53 PM Eastern Daylight Time, [EMAIL PROTECTED] writes:
You need to derive a new class from the DataGrid class and add a method to expose the scrolling. There is a protected member called GridVScrolled that you can use to scroll. (http://msdn.microsoft.com/library/default.asp? url=/library/en- us/cpref/html/frlrfsystemwindowsformsdatagridclassgridvscrolledtopic.asp) Example: public ScrollToRow(int rowNum) { this.GridVScrolled(this, new ScrollEventArgs(ScrollEventType.LargeIncrement, rowNum)); } -Eric The simple solution will be to change the position property of CurrencyManager in the form load event. =================================== This list is hosted by DevelopMentor� http://www.develop.com Some .NET courses you may be interested in: Essential .NET: building applications and components with CSharp August 30 - September 3, in Los Angeles http://www.develop.com/courses/edotnet View archives and manage your subscription(s) at http://discuss.develop.com
