I have tons of button on a single form, they are used to rearrange the order of main buttons represting people (clicking on main buttons lets you chose which people performed a procedure and are ordered in 3 departments by hierarchy).
So if you are not satisfied with the way main buttons are arranged (someone changes department or goes up or down in hierarchy you click on up and down auxilliary buttons).
When I click up button ( for example near the 3rd department's 2nd button) I want to move caption and picture of button belonging to Department 3, Hierarchy 2 to Department 3 Hierarchy 1 and vice versa).
Instead of having to place separate code in each of those 60 move up and move down buttons I want each of these buttons to...
Call MoveButtonUP or MoveButtonDOWN procedures placed in forms procedures.
That works fine, only when I'm in those procedures I WANT TO KNOW WHICH BUTTON CALLED THE SUB. CAN I KNOW THAT?