PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms Re: scrollbar usercontrol still a problem

Reply

Re: scrollbar usercontrol still a problem

 
Thread Tools Rate Thread
Old 25-06-2003, 06:29 AM   #1
Allen
Guest
 
Posts: n/a
Default Re: scrollbar usercontrol still a problem



sigh, this is still a problem. I'm about a day from sucking it up and
spending the $ to call MS paid support to get this answered. Nobody
seems to have the foggiest idea of the fix for this.


On Mon, 16 Jun 2003 01:49:50 GMT, Allen <none@none.com> wrote:

>
>I've asked this a few times and haven't gotten any response. So this
>is either a rediculously complicated problem or a rediculously easy
>problem that I don't see. Either way, this problem is killin me!
>
>I have a usercontrol and two scrollbars planted on that control. I
>set tabstop = true on the usercontrol and tabstop = false on both
>scrollbars. I handle the 'scroll' events in the user control.
>
>All of this works great until until the keyboard comes into play and
>things go horribly wrong. First off, I can't seem to trap the arrow
>keys in the user control at all. Second until I set the GotFocus
>event of the scrollbars and threw a Parent.SetFocus() in it, the
>scrollbars flashed endlessly when I touched an arrow key (or page
>up/down). Now, even though I am stopping the flash, the arrow keys
>still only seem to affect which scrollbar was first affected by a
>arrow key.
>
>what the heck am I doing wrong here? How do I stop the scrollbars
>from ever caring about or getting any keyboard input. I want the
>scroll bars to do nothing about a keyboard event EVER (and I want the
>usercontrol to get all keyboard events including those arrow keys that
>the scrollbars keep stealing). How do I even start to do this?


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off