Results 1 to 5 of 5

Thread: Usercontrol Focus and Key events

Threaded View

  1. #5

    Thread Starter
    Addicted Member cheesebrother's Avatar
    Join Date
    Jul 2011
    Posts
    153

    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
  •  



Click Here to Expand Forum to Full Width