PDA

View Full Version : About button of application?


pierre
06-10-2004, 11:06 AM
Hi all:
I have a confuse problem. When I use a button in AMS5.0, then to click this button. It will change colors. If I specify the color changes from yellow to black. Then I want the black color to be fixed. It means after clicking this button, it will keep black color. It won't yellow color. How can I do? Who can give me a simply examples in AMS5.0? Thank you for advance.

Lorne
06-10-2004, 01:04 PM
Do you want it to go from yellow to black, and then when you click on it again, it goes from black to yellow...but until you do, it stays black? Like so:

yellow <click> black <click> yellow <click> black...

If so, just make it a Toggle button: double click on the button object, and change the Style setting from "Standard" to "Toggle."

If you want it to go from yellow to black, and then never go back to yellow, like so:

yellow <click> black <click> black <click> black...

Then I would probably use 2 buttons, one that is yellow, one that is all black. Put the all-black one behind the yellow one, and use actions to hide the yellow button the first time it's clicked.

pierre
06-10-2004, 10:55 PM
Hi Lorne:
Thank you for supporting. I had tried successed. Thank you again.