dwsmit1

dwsmit1

  • NA
  • 1
  • 0

Control focus on forms

Oct 1 2004 10:23 AM
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)