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
635
UltraOptionSet select with arrow keys
posted

Hi,

I have a win app with an ultraoptioset: is it possible to change the radio selected using the arrow keys up and down?

Thank you

  • 635
    Offline posted

    I found the solution:

    in the KeyDown event:

    If e.KeyCode = Keys.Up OrElse e.KeyCode = Keys.Down Then myRadio.Value = myRadio.Items(myRadio.FocusedIndex).DataValue

     

     

  • 469350
    Offline posted

    Hi,

    You can use the arrows keys to change the active item and the spacebar to select the current item by default.