Creating and grabbing buttons

Scott Slaugh xslaugh at hotmail.com
Thu Mar 6 19:30:01 EST 2003


I have a bunch of buttons in a group.  In the mouseDown handler of the 
button, it calls a handler which copies the button to the card, gives it a 
new script, and renames the button.  In the script of the new button, I have 
a grab command in the mouseDown handler.  The behavior I am trying to get is 
that I double-click on the button in the group and drag away, with the new 
button following the mouse.  However, I currently have to click on the group 
button, then wait a second before I click on the new button, otherwise I 
can't drag the button.  Does anyone have any suggestions of how to remedy 
this?

Scott Slaugh

_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail




More information about the use-livecode mailing list