home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / hypercar / 2836 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  1.2 KB

  1. Xref: sparky comp.sys.mac.hypercard:2836 comp.sys.mac.misc:13524 comp.sys.mac.apps:12206
  2. Newsgroups: comp.sys.mac.hypercard,comp.sys.mac.misc,comp.sys.mac.apps
  3. Path: sparky!uunet!centerline!noc.near.net!news.cs.brandeis.edu!chaos.cs.brandeis.edu!slanka
  4. From: slanka@chaos.cs.brandeis.edu (Ishantha Lokuge)
  5. Subject: Supercard: Dragging objects in Browse mode
  6. Message-ID: <1992Jul21.143452.12628@news.cs.brandeis.edu>
  7. Sender: news@news.cs.brandeis.edu (USENET News System)
  8. Organization: Brandeis University
  9. Date: Tue, 21 Jul 1992 14:34:52 GMT
  10. Lines: 21
  11.  
  12.  
  13. Hello!
  14.  
  15. I've written script to drag a graphic object while in Browse mode
  16. but the speed is quite slow and there is a time lag between the mouse moving
  17. and the graphic moving. I do the following:
  18.  
  19. On mouseStilldown
  20.    Global X,Y    /* Displacement of object to mouse loc*/
  21.    put mouseH() - X into X1
  22.    put mouseV() - Y into Y1
  23.    move graphic ZZZ to X1,Y1 jump 1
  24. End MouseStilldown
  25.  
  26.  
  27. I would greatly appreciate if anyone out there has a better soulution
  28. for moving quite complex (grouped) graphic objects fast, while the mouse
  29. is down and is moving. Thanks a lot for any suggestions.
  30.  
  31. -Ishantha.
  32. email: slanka@chaos.cs.brandeis.edu
  33.