adding custom icons

Jeanne A. E. DeVoto jeanne at
Sun Sep 15 20:44:01 EDT 2002

At 5:42 AM -0700 9/15/2002, james lewes wrote:
> how can one import custom icons into revolution

You mean an icon for use on a button?

The icon of a button is just an image's ID number; you can use any image in
any loaded stack. So to import an icon, you just import the image (using
File menu > Import As Control > Image File), then check the ID of the new
image and set the button's icon property to that ID number.

(Often it's convenient to create a separate stack to hold your images,
where they're out of the way yet easy to access and change.)

Jeanne A. E. DeVoto ~ jeanne at
Runtime Revolution Limited - The Solution for Software Development

More information about the Use-livecode mailing list