 |
|
 |
Hallo, could you help me and say how to insert MouseWheel event above this grid pls?
|
|
|
|
 |
|
 |
Sorry, too many time not used c#, I do not sure whether the following methon can working well. If not, tell me.
Override method
protected virtual void OnMouseWheel ( MouseEventArgs e )
of System.Windows.Forms.Control.
If you want export the MouseWheel Event to the Control client, you can insert :
public event EventHandler MouseWheel;
in class Grid, and in override function of OnMouseWheel call:MouseWheel( ... )
linjie
|
|
|
|
 |
|
 |
Hello.
Your grid is good, but how inset information from my row into database.
I work whit Visual Studio 2005.
|
|
|
|
 |
|
|
 |
|
 |
contact me DMagazine@163.com.
linjie
|
|
|
|
 |
|
 |
on test application run was pressed Clear button... without any additional actions from my side.
System.NullReferenceException: Object reference not set to an instance of an object.
at LJ.Controls.Grid.GetVisibleCellRect(Int32 row, Int32 col)
at LJ.Controls.Grid.DrawActiveCell(Graphics g)
at LJ.Controls.Grid.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Good Luck
Alex Kucherenko
|
|
|
|
 |
|
 |
It seem that when repaint the grid happend null reference. I try to reproduce the bug,but nothing happend on my compute. Please give me more information to fix the bug.
thanks
linjie
|
|
|
|
 |
|
 |
Just open your test project and hit Clear All. The results are not as expected. Subsequent attempts to append rows fail. I think that effects in rows.Clear() does not jive with OnRowsChanged()?
Dan
|
|
|
|
 |
|
 |
however i don't find the bug which you referred to, I don't reproduce it in my compute, so please try fix it yourself. I'm sorry that I can't help you to fix it. wherther your .net framework is 1.0? that is only reason what I can imagine. if you fix it, don't forget send me a copy,thanks.
linjie
|
|
|
|
 |
|
 |
great job ! keep it up..my 5 !
how difficult would it be to include stuff like changing the color of a particular row/color etc ? Had a tough time trying to do that on the winforms datagrid
There are no failures; there are only extended learning opportunities.
|
|
|
|
 |
|
 |
linjie
|
|
|
|
 |
|
 |
isnt your site http://www.techvise.com/introduction.asp just a little bit ripped from www.codejock.com?
|
|
|
|
 |
|
 |
oh,you are right.my website consult the codejock.com's style,because I don't have any genius in art.
linjie
|
|
|
|
 |
|
 |
linjie wrote:
my website consult the codejock.com's style
Great stuff
|
|
|
|
 |
|
 |
uhhh...
you think??
"Those that say a task is impossible shouldn't interrupt the ones who are doing it." - Chinese Proverb
|
|
|
|
 |
|
 |
Link to the Source Not Working
|
|
|
|
 |
|
 |
Link to the Source Not Working
|
|
|
|
 |
|
 |
The link to the source is not working ....
|
|
|
|
 |