Button image change on click

Help each other out

Button image change on click

Postby buymeapc on Sat Apr 08, 2006 7:42 pm

I've searched the forums and I'm clueless right now.

In the skin I am using, I have created a button to turn a program on or off. Right now, the button displays the default image(off) If the button is clicked, I want it to show another button image(on) and run a program. If the button is clicked a second time, I want it to revert back to the off image and run the same program again.

How can I do this? :?
buymeapc
 
Posts: 59
Joined: Wed Mar 22, 2006 5:53 pm

Postby sagitaz on Sat Apr 08, 2006 9:09 pm

look the toggle fonction, it's very easy to create this.

sorry i can't explain more because my english is little :wink:

http://www.xlobby.com/forum/viewtopic.php?t=4170

http://www.xlobby.com/forum/viewtopic.php?t=4201
sagitaz
 
Posts: 114
Joined: Mon Jul 05, 2004 11:17 pm

Postby buymeapc on Sat Apr 08, 2006 10:55 pm

Thanks....I didn't realize there was a new exe that needed to be used...that was my problem.... :oops:
buymeapc
 
Posts: 59
Joined: Wed Mar 22, 2006 5:53 pm