I have an Image in my ActiveX control and I need to click it three time before it responds to my clicks. anyone know how to get it to respond the first time?
this is in relation to my earlier post about resizing my activeX control.
Printable View
I have an Image in my ActiveX control and I need to click it three time before it responds to my clicks. anyone know how to get it to respond the first time?
this is in relation to my earlier post about resizing my activeX control.
That's not normal behaivour of image, it can be due to many things, what do you have in the click, mousedown, mouseup, dblclick events?
This happens to me too. Don't know why though. Try putting it in MouseDown event and it may clear things up.
i am using the mousedown event!
now it's not even doing what i want in it. basically i have an imagelist and when i click on an image it's supposed to swap images so it looks like the button was "pressed" but it won't swap the images... but it will do the functions called when the image is mousedown'ed.
Try put a breakpoint in the event and look if it's fired, then use F8 to execute step by step and look where it fails, also you could post up the code in the event if you can't find out