The current program i am working has a rather large GUI. I'm trying to tone it down by making a button preform the opposite action after it has been clicked.

In my case i want the button to
Code:
tabcontrol1.sendtoback()
and after being clicked and sending it to back change to
Code:
tabcontrol1.bringtofront()
And so forth every time the button is clicked it will change to the opposite reaction.

Has anyone done this before?