R
Ruggles
I know how to use Screen.ActiveControl, but that doesn't seem to work
with the Rectangle object on a form. I want to be able to have say 50
rectangles on a form, and then retrieve the name of whichever one the
user clicks on. If there were 50 text boxes this would be easy:
Msgbox Screen.ActiveControl.name. But that doesn't work for the
Rectangle object. Is this possible?
with the Rectangle object on a form. I want to be able to have say 50
rectangles on a form, and then retrieve the name of whichever one the
user clicks on. If there were 50 text boxes this would be easy:
Msgbox Screen.ActiveControl.name. But that doesn't work for the
Rectangle object. Is this possible?