We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

ComboxBox cell support for scrollwheel?

Thread ID:

Created:

Updated:

Platform:

Replies:

19009 Sep 15,2004 02:09 PM Sep 15,2004 02:31 PM Windows Forms 1
loading
Tags: GridControl
CC
Asked On September 15, 2004 02:09 PM

How can I make the drop down list in a ComboBoxCell in a GridControl aware of the scrollwheel?

Administrator [Syncfusion]
Replied On September 15, 2004 02:31 PM

This is currently not supported. It is on our to do list, but I do not know when it might be done. If you want to try something, you might set focus to the list when you drop it. This will cause the parent frame to blink, and thus may not be something you want to do.
 Private Sub GridControl1_CurrentCellShowedDropDown(ByVal sender As Object, ByVal e As System.EventArgs) Handles GridControl1.CurrentCellShowedDropDown
	Dim cc As GridCurrentCell = Me.GridControl1.CurrentCell
	If cc.RowIndex > 0 And cc.ColIndex > 0 Then
		Dim style As GridStyleInfo = Me.GridControl1(cc.RowIndex, cc.ColIndex)
		If style.CellType = "ComboBox" Then
			Dim combo As GridComboBoxCellRenderer = cc.Renderer
			combo.ListBoxPart.Focus()
		End If
	End If
End Sub

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;