Intermittent performance

Rob Cozens rcozens at pon.net
Tue May 18 11:35:53 EDT 2004


>Any ideas why it does not work everytime ?

Hi John,

Dar's on target:  I replicated your button and field, and could 
delete one char each mouseUp so long as I paused between clicks.

I added this to the button's script and the problem went away:

on mouseDoubleUp
   mouseUp
end mouseDoubleUp

BTW, you can eliminate a statement by:

on mouseUp
   if the optionKey is "down" then
     put empty into fld "theWord"
     exit mouseUp
   end if
   delete char -1 of fld "theWord"
end mouseUp

-- 

Rob Cozens
CCW, Serendipity Software Company

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)


More information about the use-livecode mailing list