how do i get a button to run on bit of code when in one mode and a differnt code when in a never
e.g.
in a temp convert program have the button converting one way then when they click to chage to the other way throgu the menu bar it use the code to convert the ever way
e.g.
in a temp convert program have the button converting one way then when they click to chage to the other way throgu the menu bar it use the code to convert the ever way