Can I use grouped objects as an icon button?

Richmond richmondmathewson at gmail.com
Sat Mar 24 11:54:42 EDT 2012


On 03/24/2012 05:50 PM, William de Smet wrote:
> Hi there,
>
> In LC I grouped several objects to make an image. I used the line and
> rectangle tools for this.
> Is it possible to use this 'image' (or grouped objects) as an icon button?
>

I'm not quite sure what you mean by "an icon button".

You can use an image or a group as a button; in fact I almost never use
buttons as buttons; much preferring to use images so I can guarantee they
look the same across different systems and computers.

After all, you can have a script:

on mouseUp
   put "This works!"
end mouseUp

in a group just as well as you can in a button.

> greetings,
>
> William
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list