|
-
Feb 24th, 2008, 09:53 AM
#1
Thread Starter
New Member
How to Autoscroll in WinForm?
Hi,
I have one scrolling problem and don't know yet how to fix it.
On Form I have a big datagrid that have about 40 columns, form has scroll bar so user could scroll on left and right to view data. My problem is, this datagrid has drag/drop functionality. User will drag item from last column and will drop on first column.
When user dragging the item from last column and moving towards first column to drop the item. Grid doesn't scroll automatically and mouse stops on
the last showing column on left side. How could I set the autoscrolling so you can drop this item on first column.
Please help, anybody give me idea how to control this auto scrolling.
Thanks
-
Feb 24th, 2008, 09:23 PM
#2
Re: How to Autoscroll in WinForm?
I don't understand, are the DataGridView larger than the Form? Why not size the grid to the form and let the grid show the scrollbars instead of the Form?
-
Feb 28th, 2008, 11:11 AM
#3
Thread Starter
New Member
Re: How to Autoscroll in WinForm?
Hi, Thanks for the reply..
I have scroll bars on datagridview, but when I drag the item and move to toward invisible column to drop. Datagridview doesn't scroll, it stop at form boundries.
How could I scroll datagridview without click on scroll bar, is there any way..
Please help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|