Kind regards and still waiting for a good and quick answer.
Any updates on keyboard navigation for this control?
running version 12.2.570
[Modified 7 years ago]
Yes, for the next maintenance release we've updated EnumPart to support ISpinnable, meaning arrow keys can be used to change values even if the drop-down is closed. We also made a couple other minor related tweaks.
I've installed the latest version(12.2.571) and the arrow keys now works for selecting a single value. I do however have another control that have an enum with flags bound to it that doesn't behave the way i want it to.
My question is if there is any way to select multiple values only using only the arrow keys? I know I can select multiple values by typing them in the text box and if i click inside the drop down it's possible to navigate between the values and select them with the space key.
So basically what i want is to be able to move the keyboard focus to the dropdown list when it is opened or by pressing a key or a key combination. Is there any property or flag i can set to achive this behavior ?
Sorry but no, there isn't currently a way to get focus into the drop-down by keyboard alone. You could possibly override OnKeyDown in the EnumEditBox and call the base method. If you detect the Alt+Down arrow press, then try and get a reference to the Popup (it's a protected-level property) and focus its content.
Please log in to a validated account to post comments.