PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
Re: scrollbar usercontrol still a problem
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
Re: scrollbar usercontrol still a problem
![]() |
Re: scrollbar usercontrol still a problem |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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? |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

