Bob,

In the just released beta of lcTaskList I have an action that if the user 
clicks on the header it does a sort by that column. If they double-click on the 
header then I want it to auto-resize the column like you can do in Excel. The 
problem is that there are both mouseUp and mouseDoubleUp handlers in the script 
and it does both the resize and sort when the user only wants to resize.

After just checking the way Excel does it I had it wrong. If you double-click 
on the column divider it resizes the column. I can implement that.

Bill Vlahos

On Jun 4, 2012, at 9:34 AM, Bob Sneidar wrote:

> Are you handling MouseUp somewhere else in the message path? If not, then 
> just let it pass. 
> 
> Bob
> 
> 
> On Jun 3, 2012, at 7:40 PM, Bill Vlahos wrote:
> 
>> 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.
>> 
>> How can I prevent that? If the user double clicks I only want the 
>> mouseDoubleUp message to be sent or at least be sent before the mouseUp.

_______________________________________________
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

Reply via email to