Search:
Namespaces
Discussions
.NET v1.1
Feedback
The scroll event of datagrid control
Messages
Related Types
This message was discovered on
ASPFriends.com 'winforms-cs' list
.
Wenfeng Gao
Hi,
I have a datagrid control embedded to a Windows form. I double clicked the
scroll event of the datagrid property window. VS added the following code:
this.dataGrid1.Scroll += new System.
EventHandler
(this.dataGrid1_Scroll);
private void dataGrid1_Scroll(object sender, System.
EventArgs
e)
{
}
I added some code to the handler and set up a breakpoint at the beginning
of the handler. Then I run the application in the debug mode. I found that
the handler never gets called when I scrolled down the scroll bar.
What else do I need to do to make the scrolling work?
Thanks.
Wenfeng
Reply to this message...
Scott Berry
That should be enough. Can you send me your code?
-----Original Message-----
From: Wenfeng Gao [mailto:
Click here to reveal e-mail address
]=20
Sent: Wednesday, May 29, 2002 4:08 PM
To: winforms-cs
Subject: [winforms-cs] The scroll event of datagrid control
Hi,
I have a datagrid control embedded to a Windows form. I double clicked
the
scroll event of the datagrid property window. VS added the following
code:
this.dataGrid1.Scroll +=3D new =
System.
EventHandler
(this.dataGrid1_Scroll);
private void dataGrid1_Scroll(object sender, System.
EventArgs
e)
{
}
I added some code to the handler and set up a breakpoint at the
beginning
of the handler. Then I run the application in the debug mode. I found
that
the handler never gets called when I scrolled down the scroll bar.
What else do I need to do to make the scrolling work?
Thanks.
Wenfeng
| [winforms-cs] member
Click here to reveal e-mail address
=3D YOUR ID
|
http://www.asplists.com/asplists/winforms-cs.asp
=3D JOIN/QUIT
Reply to this message...
System.EventArgs
System.EventHandler
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com