Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!cs.utexas.edu!uunet!portal!cup.portal.com!ts From: ts@cup.portal.com (Tim W Smith) Newsgroups: comp.sys.mac.programmer Subject: Moving a Textedit field in a modal dialog Message-ID: <21428@cup.portal.com> Date: 19 Aug 89 09:34:58 GMT References: <15088@dartvax.Dartmouth.EDU> Organization: The Portal System (TM) Lines: 23 I've got a modal dialog that sometimes needs a textedit field. So I made a textedit field that was offscreen. When it was time to use it I GetDItem'ed it and SetDItem'ed it to the place I wanted it to appear. That worked fine. It showed up and could be used. All was well in the land. Then I wanted to move it away. I GetDItem'ed it and SetDItem'ed it to Siberia ( actually, somewhere off to the left of the screen ). It did not go away. Does anyone have any idea why I can't move it around like this? I also can't move it to other places on the screen. For the curious, when confronted with this, I said "intercourse SetDItem" and switched to using a filter function in the dialog. When text needs to be edited, I just TENew the record myself where I want it, and handle it all myself from the filter function. When I'm done, I dispose of it. This seems to work great. Is there anything wrong with this approach? Tim Smith