valentindvf
July 1st, 2001, 02:09 PM
How can I capture a KeyPress event in a Image control?
Thanks.
Thanks.
|
Click to See Complete Forum and Search --> : KeyPress in a Image Control valentindvf July 1st, 2001, 02:09 PM How can I capture a KeyPress event in a Image control? Thanks. deghost July 1st, 2001, 04:33 PM 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! ---------- codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |