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: FourthWorld, heatherlaine, Klaus, kevinmiller

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

toggle graphic effects

Post by maxs » Tue Nov 15, 2011 8:18 pm

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: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: toggle graphic effects

Post by jmburnod » Tue Nov 15, 2011 11:05 pm

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 244 times
https://alternatic.ch

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

Re: toggle graphic effects

Post by maxs » Wed Nov 16, 2011 12:53 am

Thanks, that was so simple. Max

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: toggle graphic effects

Post by jmburnod » Wed Nov 16, 2011 2:39 pm

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