Borders and Icons

Mark E. Powell runrev at
Tue Jul 31 12:54:38 CDT 2007

Hello Bridger:

If you must have the image encapsulated in a button as you have described, you can do something like the button script here:

Essentially, it clones the master image, crops it, and sets the icon of the button to the new image.  The button "panorama" is the one showing the image (assuming borderwidth = 1), and the id is the hard coded id of your master image.  You might need more error checking and housekeeping depending on your situation.


More information about the use-livecode mailing list