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.

CustomDropDown Focus

Thread ID:

Created:

Updated:

Platform:

Replies:

75539 Jul 29,2008 05:35 PM Jul 31,2008 04:50 PM Windows Forms 1
loading
Tags: GridControl
Edward Wilkerson
Asked On July 29, 2008 05:35 PM

Hi

I have a gridcontrol with a custom dropdown using a GridDataBoundGrid. I am trying to be able to open each cell of the gridcontrol and navigate through the custom dropdown using only the keyboard. When my custom dropdown opens I still have to click on the upper left hand cell to set focus to the custom dropdown. My code uses

Me.ddGridUser.ActiveControl= Me.ddGridUser.gdbg_DropDown
ddGridUser.gdbg_DropDown.CurrentCell.MoveTo(1, 1, GridSetCurrentCellOptions.SetFocus)


Edward Wilkerson
Replied On July 31, 2008 04:50 PM

Hi

I solved this using
Syncfusion.Drawing.ActiveXSnapshot.FakeLeftMouseClick()

>Hi

I have a gridcontrol with a custom dropdown using a GridDataBoundGrid. I am trying to be able to open each cell of the gridcontrol and navigate through the custom dropdown using only the keyboard. When my custom dropdown opens I still have to click on the upper left hand cell to set focus to the custom dropdown. My code uses

Me.ddGridUser.ActiveControl= Me.ddGridUser.gdbg_DropDown
ddGridUser.gdbg_DropDown.CurrentCell.MoveTo(1, 1, GridSetCurrentCellOptions.SetFocus)




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.

;