Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!asuvax!stjhmc!p12.f56.n114.z1.fidonet.org!Chris.Gehlker From: Chris.Gehlker@p12.f56.n114.z1.fidonet.org (Chris Gehlker) Newsgroups: comp.sys.mac.programmer Subject: Dialogs Message-ID: <32572.276B8C1C@stjhmc.fidonet.org> Date: 16 Dec 90 14:47:05 GMT Sender: ufgate@stjhmc.fidonet.org (newsout1.26) Organization: FidoNet node 1:114/56.12 - AZ MAC UG, Phoenix AZ Lines: 16 RNG> Hi, I'm trying to get a dialog where the user has to enter a RNG> string to work, but for some reason I can not trap the result. RNG> Does anybody have any sample code I could look at?(Perferably RNG> C) I'm probably not missing much, but I've tried everything I RNG> could think of and nothing works. The book I have covers this RNG> section in too little detail so it isn't much help. The easy way to do this is to make the string an Editable Text and DISabled item. Then the Dialog Manager will handle editing for you. When the user clicks the OK button just use GetIText() to retrieve the text. -- Uucp: ...{gatech,ames,rutgers}!ncar!asuvax!stjhmc!56.12!Chris.Gehlker Internet: Chris.Gehlker@p12.f56.n114.z1.fidonet.org