Hi,
I wrote a piece of code that adds a circle at the position of the mouse when I press 1, which works fine.
Then, I go to another location and press 1 and nothing happens; the cursors changes from pointer to crosshair.
When I manually change the focus to Image, then it works again.
My guess is that is trying to draw another circle while in the Shapes first circle, which cannot do.
How do I change programmatically the focus back to Image?
Thank you.
Hi, I wrote a piece of code that adds a circle at the position of the mouse when I press 1, which works fine. Then, I go to another location and press 1 and nothing happens; the cursors changes from pointer to crosshair. When I manually change the focus to Image, then it works again. My guess is that is trying to draw another circle while in the Shapes first circle, which cannot do.
How do I change programmatically the focus back to Image? Thank you.