From: McCrayBill@SpringMind.com   
      
   On 3 Apr 2007 11:03:58 -0400, "Jim Moseley"   
    wrote:   
      
   >   
   > Greetings all. I'm stumped on what seems to be an easy question.   
   >   
   > I've got an MRO form, where each row has a selection checkbox. If the user   
   > single-clicks, I want to select the checkbox. If the user double-clicks,   
   > I want to jump to another edit screen showing that record.   
   >   
   > This all works fine, except I can't figure out how to kill the single-click   
   > event if they double-click. It is selecting the checkbox AND opening the   
   > other screen, when all I want is the other screen to open.   
   >   
   > I've got my double-click code in the record's MouseDouble event. I've tried   
   > to put the single-click code in the record's MouseClick or MouseUp events   
   > but both work the same way.   
   >   
   > All fields in the record use PassEvent in their associated events.   
   >   
   > Any clues on how to disable the single-click event once a double-click   
   happens?   
      
   I'm just guessing, but it seems to me that a double click would always   
   trigger both the single-click and double-click events. Thus, on a   
   double click, the single-click event would already have happened by   
   the time the double-click event triggered. If you don't want the   
   effect of the single click to occur, you would have to undo the effect   
   of the single click in the double-click event code.   
      
   Bill   
      
   ----------------------------------------------------------------   
   Reverse halves of the user name for my e-address   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|