Control focus on forms
I have built a toolbar with buttons. When buttons are pressed images are placed in pictureboxes and displayed on the form. I additionally changed the cursor property of the pictureboxes to cursor.hand. When I move the mouse across the form it maintains the default cursor until it moves across the picture box controls, when the cursor transitions to cursor.hand.
The question is how do I invoke an event when cursor is over one of the pictureboxs?
I tried using the mousehover or lefmouse button event with a if statement looking for this.cursor = cursors.hand?
Thanks
REDSOXFAN
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

MykonineRank #2,671 · 521 reputationPosted Oct 2, 2004, 1:39 AM EDT