I have a quick question about writing a routine..
I have a few controls on my form...let's say a few command buttons called command1 command2 and command3. let's say I also have a checkbox1 and optionbutton1.
I then have a label box at the bottom. I simply want my program to display the last control that was clicked or checked. I'm having trouble finding how to take the control as an argument and display the actual control name in the label field. Any help is appreciated.