1
Answer

Control focus on forms

dwsmit1

dwsmit1

20y
1.8k
1
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
Answers (1)