1 . how can I find a visualbasic control programatically at runtime

I mean :

I will click a command button at runtime and
I will show item's name that focused before command button without describing any special property of that item.

I doesn't want to write

msgbox item.name (item.name is static.)

instead I want to write code that firstly find which item focused before command button and then show its name.

(item.name is dinamic.)