Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!shaman!jiro From: jiro@shaman.com (Jiro Nakamura) Newsgroups: comp.sys.next Subject: Re: where is the object that handles "Are you sure" comfirmation Message-ID: <1991May8.032814.1068@shaman.com> Date: 8 May 91 03:28:14 GMT References: <998@nddsun1.sps.mot.com> Sender: jiro@shaman.com (Jiro Nakamura) Organization: Shaman Consulting Lines: 19 In article <998@nddsun1.sps.mot.com> leivian@axon.sps.mot.com (Bob Leivian) writes: > > Would like to include confirmation for some methods by using > the pop up box that asks are you sure you want to do X and doesn't > return till the user clicks yes (or no). There has to be a class like > this in the OS, but I can't find it. I am also having trouble writing > one, I subclassed "panel" and put a textfield and a yes and no button > but when i "new" this panel subclass the buttons and text don't appear > Try NXRunAlertPanel(). This is the standard way to get the dialog box you want. Run Digital Librarian to find the reference. - jiro nakamura jiro@shaman.com -- Jiro Nakamura jiro@shaman.com Shaman Consulting (607) 253-0687 VOICE "Bring your dead, dying shamans here!" (607) 253-7809 FAX/Modem