Dumb Newbie Questions -- 3 of N

Judy Perry jperryl at ecs.fullerton.edu
Sat May 2 14:33:24 EDT 2009


Aha!

Now THAT's something I could find useful! (celebrating little aha moment). 
Thank you!

:-D

Judy

On Sat, 2 May 2009, J. Landman Gay wrote:

> Let's try something simple. Suppose you have a card with lots of buttons that 
> the user can move around; maybe your script uses the "grab" command to let 
> them drag the butons. Now you want a way to reset the card to its native 
> state that puts all the buttons back to their original positions.
>
> Buttons have a "loc" property, but that only stores the current position of 
> the button at this moment, and the engine will update that value every time 
> the button moves. There isn't any native property that tells you where the 
> button started from, but we can make a custom property that does that.





More information about the use-livecode mailing list