An example which shows how to create buttons which change appearance when pressed.In the upper box pressing an enabled button makes the other (disabled) button become enabled, and disabled itself. In the lower box, buttons are a plain blue, but change to a graphic (a tem image) when pressed, either during the press or toggling on/off. The image is contained within the script and the format thereof is shown. I have created a little utility script to convert a thunmbnail image into this format. Contact me if you'd like a copy.
Other Dialog-Examples:Very simple PushButton ; enabling/disabling buttons ; more complex periodic table dialog.