ftp.nice.ch/peanuts/GeneralData/Usenet/news/1989/CSN-89.tar.gz#/comp-sys-next/1989/Sep/IB-tricks?

This is IB-tricks? in view mode; [Up]


Date: Sun 08-Sep-1989 15:40:44 From: Unknown Subject: IB tricks? I could use a little advice on a couple of features I want to add to my IB program. First off, I want to use an OpenPanel to select a DIRECTORY. It is normally set up to select FILES, which is not what I want. Is there a good way to do this? Normally, while the browser is on a directory, the OK button is disabled, although if you select a file, the direc- tory is available to the program. Second off, I want to be able to pop up a little panel whenever there is an error, so that the error message will be displayed, and the program will not continue until the user hits some button on the panel. What is the canononical way to do this? I could possibly add a panel with IB, customize it myself, change a text field, and manually display it each time there is an error, but it seems like there should be some system built in to do the job. Anybody have any good ideas? Better yet, anybody have any good code? | Dan Zerkle home:(805) 968-4683 morning:961-2434 afternoon:687-0110 | | dz@cornu.ucsb.edu dz%cornu@ucsbuxa.bitnet ...ucbvax!hub!cornu!dz | | Snailmail: 6681 Berkshire Terrace #5, Isla Vista, CA 93117 | | Disclaimer: If it's wrong or stupid, pretend I didn't do it. | >From: combs@sumex-aim.stanford.edu (Dave Combs)
Date: Sun 08-Sep-1989 20:12:26 From: Unknown Subject: Re: IB tricks? Dan, For your second problem (displaying error messages), use the 0.9 function NXAlert. Dave P.S. To anyone, a similar problem - Is there some generic function that will allow me to put up a panel and take a line of input? Does a basic class exist that will do the job, or do I have to invent one, basically equivalent to a Macintosh "dialog box"? >From: aisl@uhura.cc.rochester.edu (Lawrence Landry)

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.