Article View: comp.sys.mac
Article #25138Re: mouseUp events in scroll bars
From: login for the netnews
Date: Tue, 09 Feb 1988 19:19
Date: Tue, 09 Feb 1988 19:19
27 lines
1377 bytes
1377 bytes
--------
About the problem with keeping scrolling fields together: you could put this
into your card script --
From: jts@demon.siemens-rtl (Jim Sasaki)
Path: demon!jts
on mouseWithin
set scroll of card field a to scroll of target
set scroll of card field b to scroll of target
set scroll of card field c to scroll of target
...
end mouseWithin
You do get a lot of mouseWithin messages passed around, unfortunately.
(Anyone know how expensive they are?)
You can also use "mouseLeave" instead of "mouseWithin", but then the other
fields only scroll to match when the mouse moves out of the field. (With
"mouseWithin", the scrolling happens after every click in the scroll bar or
whenever the elevator or scroll arrow is released.)
-----
-- Jim Sasaki (jts%siemens.com@princeton.edu, princeton!siemens!jts)
Any opinions above are my own, and not necessarily those of Siemens RTL, for
whom I consult.
Technical Details
Message-ID:
<436@siemens.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!lll-winken!lll-lcc!lll-tis!ames!rutgers!princeton!siemens!newsShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!lll-winken!lll-lcc!lll-tis!ames!rutgers!princeton!siemens!news From: news@siemens.UUCP (login for the netnews) Newsgroups: comp.sys.mac Subject: Re: mouseUp events in scroll bars Message-ID: <436@siemens.UUCP> Date: 9 Feb 88 19:19:30 GMT Reply-To: jts%siemens.com@princeton.edu (Jim Sasaki) Organization: Siemens Research and Technology Labs, Princeton NJ Lines: 26