I hate mousedown

MisterX b.xavier at internet.lu
Wed Apr 27 15:11:57 EDT 2005


what's dragging you down?

;)

Script courtesy of EditN2O's* card script - ;)
(* not available yet). 

hope it helps...
cheers
Xav

on mousedown
 get the long name of the target 
 if word 1 of it is in "field,button" and "theme" is not in it then pass
mousedown
 
 local initrec, mouserec, offrec, oldrec
  put the loc of this stack into initrec
  put the mouseloc into mouserec
  put item 1 of mouserec - item 1 of initrec into offrec
  put item 2 of mouserec - item 2 of initrec into item 2 of offrec
   
  repeat while the mouse is down
    lock screen
    --get offset movement
    add (the mouseH - item 1 of mouserec) to item 1 of initrec
    add (the mouseV - item 2 of mouserec) to item 2 of initrec
     
    if initrec = oldrec then
      unlock screen
      next repeat
    end if
     
    -- if the right border beyond the screenwidth then
     
    set the loc of this stack to initrec
    put initrec into oldrec
    unlock screen
  end repeat
  pass mousedown
end mousedown

 

> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com 
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of 
> Lynch, Jonathan
> Sent: Wednesday, April 27, 2005 20:56
> To: How to use Revolution
> Subject: RE: I hate mousedown
> 
> Is there a particular situation where it is not working?
> 
> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of 
> Thomas McGrath III
> Sent: Wednesday, April 27, 2005 2:55 PM
> To: How to use Revolution
> Subject: Re: I hate mousedown
> 
> Oh, I know it hates me. I've been abusing it for four days now.
> 
> t
> 
> On Apr 27, 2005, at 2:32 PM, Lynch, Jonathan wrote:
> 
> > How do you suppose mousedown feels towards you?
> >
> > -----Original Message-----
> > From: use-revolution-bounces at lists.runrev.com
> > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf 
> Of Thomas 
> > McGrath III
> > Sent: Wednesday, April 27, 2005 2:30 PM
> > To: How to use Revolution
> > Subject: I hate mousedown
> >
> > I hate mousedown
> 
> Thomas J. McGrath III
> SCS
> 1000 Killarney Dr.
> Pittsburgh, PA 15234
> 412-885-8541
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 



More information about the use-livecode mailing list