Vista peculiarities

FlexibleLearning at aol.com FlexibleLearning at aol.com
Mon Sep 3 13:31:14 EDT 2007


Hugh: 
> Another gotcha is that the  menubar group needs the following line if  you 
> have a mouseDown  handler to overcome the recent Rev menubar implementation 
 
>  peculiarities...
> 
> on mouseDown
> if the mouse is not  "down" then exit  mouseDown
> .../...
> end  mouseDown

Ken: 
> Nice! I hadn't thought of that! (I was dealing  with it in a different 
> and more complex  manner..)

Richard:
> I haven't had my coffee yet so forgive me if  this should be obvious, but 
> when do you want to not trigger the  mouseDown handler when the mouse 
> isn't down?
>
> I know the  mouseDown handlers in menus are now triggered with 
> command-keys as  well, but wouldn't you want the same menu updating to 
occur?


When  Ctrl/Cmd key is pressed, the mouseDown is activated repeatedly. If the 
mouseDown  does a lot of menu-building and is only needed when the user 
actually selects a  menu, we need a means of escaping all this unecessary activity 
when the mouse is  not down (as in a Ctrl/Cmd shortcut activation). Rather 
esoteric until it bites  you, at which point is becomes very real!  

/H



   



More information about the use-livecode mailing list