home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.mac.hypercard:2836 comp.sys.mac.misc:13524 comp.sys.mac.apps:12206
- Newsgroups: comp.sys.mac.hypercard,comp.sys.mac.misc,comp.sys.mac.apps
- Path: sparky!uunet!centerline!noc.near.net!news.cs.brandeis.edu!chaos.cs.brandeis.edu!slanka
- From: slanka@chaos.cs.brandeis.edu (Ishantha Lokuge)
- Subject: Supercard: Dragging objects in Browse mode
- Message-ID: <1992Jul21.143452.12628@news.cs.brandeis.edu>
- Sender: news@news.cs.brandeis.edu (USENET News System)
- Organization: Brandeis University
- Date: Tue, 21 Jul 1992 14:34:52 GMT
- Lines: 21
-
-
- Hello!
-
- I've written script to drag a graphic object while in Browse mode
- but the speed is quite slow and there is a time lag between the mouse moving
- and the graphic moving. I do the following:
-
- On mouseStilldown
- Global X,Y /* Displacement of object to mouse loc*/
- put mouseH() - X into X1
- put mouseV() - Y into Y1
- move graphic ZZZ to X1,Y1 jump 1
- End MouseStilldown
-
-
- I would greatly appreciate if anyone out there has a better soulution
- for moving quite complex (grouped) graphic objects fast, while the mouse
- is down and is moving. Thanks a lot for any suggestions.
-
- -Ishantha.
- email: slanka@chaos.cs.brandeis.edu
-