Wow I'm tired!

The script that doesn't work is supposed to be:

on mouseUp
  get the Properties of me
 set the Dropshadow of me to EMPTY
end mouseUp

The other one is obviously wrong.

Tim


On Aug 26, 2011, at 10:31 AM, Timothy Bleiler wrote:

Hi,

This is pretty weird. I was having trouble setting the dropShadow to empty. It seemed not to work sometimes. I've isolated the problem to this -

Create a button with the dropShadow property set from the property inspector.

Put this script into the button

on mouseUp
  get the Properties of me
 SET THE Dropshadow of me to it
end mouseUp

What I'm seeing is that commenting out the first line allows the dropShadow to be set to empty.
With the first line in, the dropShadow doesn't change.

Is this a bug? Or is there some reason for this?


Tim Bleiler, Ph.D.
Instructional Designer, HSIT
University at Buffalo

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to