Splitcontainer key event

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Hornet77

    #1

    Splitcontainer key event

    Hi

    I'm using a splitContainer on my MainForm client application and I add a
    new custom control to its panels every time I receive a message from my
    server side application. Now I would provide the feature to scroll
    through these custom controls (selecting the next or the previous)
    simply pressing UP or Down key. What kind of event I need to use? I've
    tried with SpliContainer.K eyDown but it seems to catch all the keys
    except arrow keys (and only when the splitter bar is selected), the same
    for my custom control: its KeyDown event don't catch arrow keys....

    The single Panel has only a PreviewKeyDown event and it seems to not
    working for me.

    The default behaviour is that arrow keys only affect the scrollbar of
    the spliContainer.

    Thank you
Working...