Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!rpi!brutus.cs.uiuc.edu!usc!apple!kazim From: kazim@Apple.COM (Alex Kazim) Newsgroups: comp.sys.mac.programmer Subject: Re: Changing editText to statText in modal dialogs Summary: Try HideDItem Message-ID: <39425@apple.Apple.COM> Date: 12 Mar 90 20:57:34 GMT References: <419@fornax.UUCP> <14401@reed.UUCP> Distribution: na Organization: Apple Computer Inc, Cupertino, CA Lines: 14 In article <14401@reed.UUCP> bowman@reed.UUCP (Eric Bowman) writes: >In article <419@fornax.UUCP> mcdonald@fornax.UUCP (Ken Mcdonald) writes: >>But what >>do you do if the one you are working on is the only editText item? > >The way I handle this is to put another editText item way out of the >dialog's visRgn. You'll need to do some trickery in a filterproc to Have you tried _HideDItem on the edit text item. The Dialog Manager may do the correct thing, even if it's the only edit text around. ================================================================== Alex Kazim, Apple Computer ==================================================================