Hi,
I was wondering if there is a way to disable mouse wheel scrolling inside the ultra win grid cell, when the cell is bound to a value list.
Thanks,
Kateryna
Private Sub UltraGrid1_ControlAdded(sender As System.Object, e As System.Windows.Forms.ControlEventArgs) Handles UltraGrid1.ControlAdded, UltraGrid2.ControlAdded
Dim combo As EmbeddableTextBoxWithUIPermissions
' Set variable to new dropdown combo added to ultragrid control when clicking in cell combo = TryCast(e.Control, EmbeddableTextBoxWithUIPermissions)
' Check if it's nothing If combo IsNot Nothing Then
' Add handler to method which will disable mouse wheel scrolling in combo AddHandler combo.MouseWheel, AddressOf combo_MouseWheel
End If
End Sub
Private Sub combo_MouseWheel(sender As Object, e As MouseEventArgs)
Dim args As HandledMouseEventArgs = DirectCast(e, HandledMouseEventArgs)
' Disables scroll wheel action on control If Not args Is Nothing Then args.Handled = True End If
Nevermind, I got it working. It works perfectly for me. Thank you for your help
I am still getting the same error, I am running on Windows 7, VS 2008. It is having some problem with the initializecomponent. It is not liking it.
Any help is appreciated...
Hello mcs2100,
Could you please try the sample attached in this post.
Please feel free to let me know if there are any issues with the application.
Thank you for the quick reply, but it compiles with error, I am using VS2008 Infragistics .dll version of 2011.1. And also it does not let me into design view of the form.. Please advise.