scrollbar bound to arrow keys



Hi,
The arrow keys (up, down, left, right keys) are bound to the scrollbars of my UserControl. For instance, if another control is in focus and I press an arrow key the last scrollbar that had focus gets focus and it's value changes with each press. Strangely enough, this even happens when the scrollbars have .Visibility = false.

Is there a property that controls this behaviour? I can't find it.

Thanks
.



Relevant Pages

  • RE: Scrollbars and onPaint
    ... I've solved this problem with a UserControl, that is working as a frame. ... OnPaint I do all the frame-drawing. ... control with the whole content (you can derive from ScrollableControl for ... > UserControl provides scrollbars for me). ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: Usercontrol dont raises keyDown event
    ... Cesar ... I'm developing a usercontrol that have no controls inside him, ... The problem is, now I need to capture keyboard events inside the control, ... if there are scrollbars visible and I press ...
    (microsoft.public.dotnet.languages.vb)
  • Scrollbars and onPaint
    ... UserControl provides scrollbars for me). ... I call Draw3DBorder(...) to create me a border. ... and to exclude the border from being drawn over when ever the control ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Usercontrol dont raises keyDown event
    ... I'm developing a usercontrol that have no controls inside him, ... The problem is, now I need to capture keyboard events inside the control, ... if there are scrollbars visible and I press ... Up/Left/Right/Bottom keys, a scrollbar get focus. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: scrollbar bound to arrow keys
    ... The arrow keys are bound to the scrollbars ... of my UserControl. ... if another control is in focus and I ...
    (microsoft.public.dotnet.framework.windowsforms)