|
-
Jan 16th, 2012, 05:16 AM
#1
Thread Starter
Addicted Member
Re: Usercontrol Focus and Key events
I've got a usercontrol purely made by me, no inheritance. I've got two of these usercontrols on another usercontrol which i wan't to have focus all the time, or if that isn't possible to at least get key events(like you said by using KeyPreview).
Edit: I tried setting KeyPreview to true and it's what i need except that there is no keypreview property on a usercontrol. Ideally though, i'd like to make my custom scrollbar usercontrol so that it can't receive focus like the default one.
Last edited by cheesebrother; Jan 16th, 2012 at 05:34 AM.
Hooked for good.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|