home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.next.programmer
- Path: sparky!uunet!elroy.jpl.nasa.gov!ames!eos!aio!news
- From: bill@epnxt.jsc.nasa.gov
- Subject: How do I tap into the selectionChanged method?
- Message-ID: <1992Aug18.204914.1495@aio.jsc.nasa.gov>
- Sender: news@aio.jsc.nasa.gov (USENET News System)
- Reply-To: bill@epnxt.jsc.nasa.gov
- Organization: nasa-jsc
- Date: Tue, 18 Aug 1992 20:49:14 GMT
- Lines: 16
-
- I have a soundview and wish to have my data variables updated everytime my
- selection area changes. I have set all the approate flags except possibly
- some delegate. What little documentation I have on this matter states the
- following: "selectionChanged: Sent to the delegate whenever the
- SoundView's selection Changes". I also have set the setContinious flag to
- YES.
-
- I have a method which calls the getSelection method and prints the
- results. My question is how do I automate the process so that my function
- is called whenever I mouse drag a new selection in the SoundView without
- having to physically call my function to run itself via a button?
-
- Thanks in advance.
-
-
- Bill
-