Using latest version of NetAdvantage 2010.3 ultragrid on Win 7 platform.
Is there some VB.NET code showing how to get the mouse wheel to scroll when a cell is in edit mode? Mouse wheel works nicely everywhere else and in DataWidgets 3.11 BUT I cannot get it to work in Ultragrid. Scrollbar works just fine. Why doesn't the mouse wheel!?
bwa
Hi bwa,
What scroll bar are we talking about here? There are any number of reasons why a cell might display a scrollbar in various places. So I need more specifics about what data type the cell is and why it's showing a scrollbar.
Also, is the cell in edit mode?
Mike,
I don't use the .MouseWheel event anywhere in the project and it doesn't even fire when a cell is in Edit mode, so that route to resolving the problem is not viable.
I've gone the route of commenting out all the events, keymappings, appearance descriptions, overrides, etc. to see if anything works. Nada!
The project saves and loads grid layout files. I commented out these routines. With absolutely nothing being done with the grid upon load other than it being connected to its arraylist datasource, it still will not scroll with the mouse wheel if a cell is in Edit mode. I can't get to a more bare bones grid control! And with everything commented out it isn't of much use!
I've informed my client he will just have to live without mouse wheel scrolling if a cell is in Edit mode. I cannot think of anything else to do and have already wasted far too much time chasing this!
I'm finding the exact same thing - MouseWheel scrolls just fine on the grid, but as soon as I enter Edit Mode the grid won't scroll. Did anyone ever come up with an explanation?
Ah ha! It seems to be the case that if CellMultiLine is set to True on the column, when editing a cell in that column the MouseWheel does not work.
Can you confirm, and is there a workaround?
Hello jcwild,
Could you please review the sample attached to this post and see if it meets your requirements.
Please feel free to let me know if I misunderstood you or if you have any other questions.
Boris,
Two problems with the posted example, I think?:
1) We don't have C# loaded; only using VB .NET 2010
2) We're using 2011.1 of NetAdvantage, not 2012.1. Not sure if this has any impact upon the potential fix.
Could you simply explain the fix for the mouse wheel problem so we can give it a try?
Thanks.