toggle graphic effects

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller

Post Reply
maxs
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 421
Joined: Sat Jun 24, 2006 12:02 am

toggle graphic effects

Post by maxs »

How can I toggle the graphic effects of an objects on and off, without losing the settings I have created?
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2734
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: toggle graphic effects

Post by jmburnod »

Hi maxs,

You can use the customproperties of the objects like in the stack in attachment

Best regards

Jean-Marc
Attachments
ToggleGraphic.livecode.zip
(885 Bytes) Downloaded 305 times
https://alternatic.ch
maxs
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 421
Joined: Sat Jun 24, 2006 12:02 am

Re: toggle graphic effects

Post by maxs »

Thanks, that was so simple. Max
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2734
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: toggle graphic effects

Post by jmburnod »

hi Max,
that was so simple
Yes.
If you need the same toggle for a lot of grcs you can use the customproperties of the stack or a variable instead the customproperties of the grc

Best regards

Jean-Marc
https://alternatic.ch
Post Reply