|
-
July 1st, 2001, 02:09 PM
#1
KeyPress in a Image Control
How can I capture a KeyPress event in a Image control?
Thanks.
-
July 1st, 2001, 04:33 PM
#2
Re: KeyPress in a Image Control
you can use the forms KeyPress event because an Image control can't get a focus. if you have other controls in the form that can get a focus then make in some way that the focus will be on the form at the right time (i.e. when in the forms mousedown/up event). i don't remember how do you do that but it shouldn't be a problem.
----------
The @host is everywhere!
----------
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
|