Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!dali.cs.montana.edu!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!wuarchive!udel!haven.umd.edu!cs.wvu.wvnet.edu!cerc.wvu.wvnet.edu!blackwater!vrm From: vrm@blackwater.cerc.wvu.wvnet.edu (Vasile R. Montan) Newsgroups: comp.sys.mac.programmer Subject: Need a scrollable, editable text record in a modal dialog Message-ID: <1782@babcock.cerc.wvu.wvnet.edu> Date: 21 May 91 16:29:51 GMT Sender: news@cerc.wvu.wvnet.edu Reply-To: un020070@vaxa.wvnet.edu Lines: 26 I need a fully functional TERecord for the user to edit in the context of a modal dialog. (Please-- no flames about modality. This is one of those places where user interface issues constrain me to use a modal. It's very much like the script situation in HyperCard-- what other way would there be to do this but a modal?) I can think of two ways to do this, and I'm not very happy about either one. 1. Use a regular editable text item, which should make the coding a bit shorter. For the scroll bar, I will have to rig up some way to get into the TERec and scroll it myself. 2. Go ahead and write the code as though this were a TERec in any normal window, and just catch whatever events I need with the filter function. This is most likely the tac I will take; still, I've got a nagging feeling that there might be some gotchas involved. What I want to end up with is something very much like HyperCard's script editor. I know that HyperCard does this with a modal dialog, because the DLOG/DITL are there for everyone to see. :-) Any suggestions or potential gotchas? --Kurisuto un020070@vaxa.wvnet.edu