Drag and Drop

Richard Gaskin ambassador at fourthworld.com
Tue Feb 8 18:58:09 EST 2011

Peter Haworth wrote:
> One other possible change- should there be a 'reset templatebutton' at then end of the dragEnd handler?

Good catch.  Yes, ideally there should be, or perhaps even better to 
store the properties of the templateButton into a temporary array, and 
then reset it to those values before exiting (just in case any other 
script may be relying on custom settings).

  Richard Gaskin
  Fourth World
  LiveCode training and consulting: http://www.fourthworld.com
  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
  LiveCode Journal blog: http://LiveCodejournal.com/blog.irv

More information about the Use-livecode mailing list