Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
815
Using Ultra Drop Down in UltraWinGrid via Keyboard Only
posted

I am looking for a way to access an UltraDropDown and select a value from it using only the keyboard.  For example, lets say we have a simple grid with ID, Name, and Manager.  The manager column has an UltraDropDown set as its valuelist (column style is DropDownValidate).  When adding a new record I want to be able to type in the ID value, press tab, type in the Name, press tab, then press a special key such as "/" to cause the drop down to open and then use the arrow keys select the manager, the press enter to select it.  The goal is to keep the users hands on the keyboard for data entry and not reach to the mouse just to look up the value

I am able to make the drop down popup by catching the KeyPress event, handling the error and then calling the PerformAction(UltraGridAction.ToggleDropDown) event but I cannot figure out how to set focus to the drop drop down list.  I have tried simply .Focus method but it doesn't do anything.2

Is this possible?