home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.tcl
- Path: sparky!uunet!cs.utexas.edu!torn!nott!bnrgate!bgtys9!bnr!tewei
- From: tewei@bnr.ca (Te-Wei Sun)
- Subject: Automatic Scrolling
- Message-ID: <1992Dec24.011953.2348@bnr.ca>
- Keywords: scroll
- Sender: tewei@bnr (Te-Wei Sun)
- Organization: Bell-Northern Research, Ottawa, Ontario, CANADA
- Date: Thu, 24 Dec 92 01:19:53 GMT
- Lines: 18
-
- Hi,
-
- I am trying to implement automatic scrolling for scrollable canvas.
- Instead of using the scroll bar, the canvas will be scrolling when
- the mouse pointer is outside of the canvas. (The canvas will scroll
- to the opposite direction of the location of the mouse pointer.)
- (This feature is great when you want to drag a widget across a
- scrollable canvas, so you can always see the widget at the edge
- of the canvas.)
-
- I have tried to implement this feature through bindings. However
- it does not work out nicely, since the events are not repeated.
-
- Has someone tried to accomplish similar task before?
- Any input would be appreciated.
-
- Te-Wei Sun
- tewei@bnr.ca
-