Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!mit-eddie!ll-xn!ames!amdahl!pyramid!voder!apple!scott From: scott@Apple.COM (scott douglass) Newsgroups: comp.sys.mac.programmer Subject: Re: TextEdit Item in a dlog Message-ID: <9205@apple.Apple.Com> Date: 29 Apr 88 23:19:40 GMT References: <8006@ames.arpa> Reply-To: scott@apple.UUCP (scott douglass) Organization: Apple Computer, Inc. Cupertion, CA Lines: 20 In article <8006@ames.arpa> soe@ames.arpa (Brad Soe) writes: >I was wondering about an item that is declared "editText" in >a resources template. Is it just like a "TEHandle"? >... > Brad Soe > internet : soe@ames.arc.nasa.gov No. The handle returned by GetDItem is just a handle to the text. Ideally you would only access this handle by passing it to GetIText and SetIText. A dialog has one TERecord that is shared by all editText items (i.e. it contains the correct values for the currently active editText item. This is all fairly well explained in Chapter 13 The Dialog Manager of Inside Mac Vol I (esp. pg I-408). Hope this helps. -- --scott douglass, Apple Computer CSNet: scott@Apple.CSNet UUCP: {nsc, sun, voder, well, dual}!apple!scott AppleLink: Douglass1 Any opinions above are mine and not necessarily those of Apple Computer.