Path: utzoo!utgpu!watserv1!watmath!att!att!news.cs.indiana.edu!cica!tut.cis.ohio-state.edu!cs.utexas.edu!sun-barr!lll-winken!taurus!libra!sisk From: sisk@libra.cs.nps.navy.mil (Tamara Sisk) Newsgroups: comp.sys.next Subject: How do I interrupt my App? Message-ID: <1614@libra.cs.nps.navy.mil> Date: 4 Nov 90 19:34:16 GMT Reply-To: sisk@cs.nps.navy.mil (Tamara Sisk) Organization: Naval Postgraduate School, Monterey CA Lines: 28 I'm polishing up a nifty App to submit to the sites, but I'm stuck on one thing. Part of the App involves creating a (very) long list in a ScrollView. I want to be able to stop the listing without crashing my App, once I'm happy with how long the list is. Currently, there is a "Start" button that starts the listing. I'd like to make it so that this button turns into a "Stop" button while the list is going, so that if I push it again, the method creating the list just stops, just like ScorePlayer, for example, whose start button turns into a stop button. The problem seems to be that my App won't respond to button pushes while the list-making method is working. I've tried messing around with [myButton setState:state] and things like this, but nothing in my App responds until this one method finishes. Surely someone out there can suggest how I get a Start/Stop toggle button that actually works... Oh, and by the way, how will I go about submitting this to the ftp sites once I fix this "last bug?" -- _____________________________________________________________________ Jeff & Tamara Adams (or at least one of us)