Re: scrollbar bound to arrow keys
- From: jonpb <nospam@xxxxxxxxxx>
- Date: Tue, 04 Dec 2007 11:11:59 -0800
To update, I was mistaken on the Visibility issue, I'm using a TableLayoutPanel and to hide the scrollbars I resize the column\row, so the scrollbars were still visible. In any case the question remains, is it possible to stop the scrollbars from trapping the arrow key events.
Morten Wennevik [C# MVP] wrote:
Hi,.
Scrollbars do not automatically grab the arrow key events unless there is nothing else taking key input. Firing up a simple program with a HScrollBar and a button to switch visibility on the scrollbar I could not reproduce your problem. Once the scrollbar was invisible, it did not adjust the position when using the arrow keys.
Do you have custom binding or key handling that could interfere?
On Mon, 03 Dec 2007 23:09:52 +0100, jonpb <nospam@xxxxxxxxxx> wrote:
Strangely enough, this even happens when
the scrollbars have .Visibility = false.
- References:
- scrollbar bound to arrow keys
- From: jonpb
- Re: scrollbar bound to arrow keys
- From: Morten Wennevik [C# MVP]
- scrollbar bound to arrow keys
- Prev by Date: Re: scrollbar bound to arrow keys
- Next by Date: Re: scrollbar bound to arrow keys
- Previous by thread: Re: scrollbar bound to arrow keys
- Next by thread: Re: scrollbar bound to arrow keys
- Index(es):
Loading