Controlling Graphic Effects in Scripts

Scott Rossi scott at
Thu Aug 25 19:16:45 EDT 2011

Hi Tim:

 "set dropshadow of control x to empty" works here.

This sounds goofy but are you sure dropshadow is spelled correctly in your
script?  On many occasions I find myself misspelling the graphic properties
and then, of course, they don't work.

Also check that the control number is *really* the number of the control and
not the number of the *type* of control.


Scott Rossi
Creative Director
Tactile Media, UX Design

Recently, Timothy Bleiler wrote:

> Hi,
> If I set one of the graphic effect properties like "DropShadow" to an
> appropriate array within a script how do I turn it back off within a
> script?
> Set DropShadow of control x to empty   -- does not work
> Set DropShadow of control x to none   -- does not work
> Thanks,
> Tim Bleiler
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:

More information about the Use-livecode mailing list