Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!mimsy!mojo!russotto From: russotto@eng.umd.edu (Matthew T. Russotto) Newsgroups: comp.sys.mac.programmer Subject: Re: Deselecting an editText item ina dialog box? Message-ID: <1990Mar2.005335.27030@eng.umd.edu> Date: 2 Mar 90 00:53:35 GMT References: <1990Mar1.170635.29828@wam.umd.edu> <6193@umd5.umd.edu> Sender: news@eng.umd.edu (The News System) Distribution: na Organization: Maryversity of Uniland, College Park Lines: 22 In article <6193@umd5.umd.edu> zben@umd5.umd.edu (Ben Cranston) writes: >In article dave@sun.soe.clarkson.edu >writes: > >> Is there any way to disable an editText item in a dialog box? For >> example, I have an editText box which I want to lock out from user >> changes once a particular option is selected. Seems simple, but I >> haven't seen anything in IM or elsewhere which says it can be done.. > > [kludge, kludge, kludge, klude] > >If DTS is listening maybe a Tech Note on this would be in order... There is one. It's called "Don't abuse the managers". Look up the section "Dialog with the devil". Have you tried hacking the itemlist and making that thing a statictext instead of an edittext, if you REALLY want to kludge this thing? Of course, make sure it isn't the currently selected edittext. -- Matthew T. Russotto russotto@eng.umd.edu russotto@wam.umd.edu ][, ][+, ///, ///+, //e, //c, IIGS, //c+ --- Any questions?