> on mouseUp > wait 20 If you're going to wait, I would suggest not using a hard-coded constant but instead use the 'doubleClickInterval' global property (as in "wait the doubleClickInterval milliseconds"), as it gets the time based on the user's OS settings for double-click speed.
>> I have a button that has handlers for mouseUp and mouseDoubleUp. If the >> user double clicks the button the mouseUp always gets handled before the >> mouseDoubleUp. If it's possible to separate these two into two separate buttons that would be best, as it's usually a bit confusing to the end user; but that said, waiting the doubleClickInterval should do it… Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode