Show all scripts

Dialog BevelButtons

Category: Dialogs
Description: 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.
Comments: tested on DM 3.7, 3.8 and 3.9.
Script version: 1.0
DM/GMS version: 3.8
Script written as a function: No
Source: Show code
Download Source Code: Download
Download Zip File: Download