🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #1208

How do I tap into the selectionChanged method?

#1208
From: bill
Date: Tue, 18 Aug 1992 20:49
16 lines
1116 bytes
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
Technical Details
Message-ID: <1992Aug18.204914.1495@aio.jsc.nasa.gov>
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!ames!eos!aio!news

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!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