Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!ncar!bierstadt!hpoppe From: hpoppe@bierstadt.ucar.edu (Herb Poppe) Newsgroups: comp.sys.mac.hypercard Subject: Bigger "Ask" and "Answer" dialog boxes. Message-ID: <1614@ncar.ucar.edu> Date: 21 Mar 89 16:14:12 GMT Sender: news@ncar.ucar.edu Reply-To: hpoppe@NCAR.UCAR.EDU (Herb Poppe) Distribution: usa Organization: Scientific Computing Division/NCAR, Boulder CO Lines: 23 Last night I was working on a HyperCard stack that requires HC 1.2 or later. I wanted to use "answer" to put up a dialog box if the version being used was earlier. But I couldn't fit my message on the single line available. After futzing around with abbreviations and bad grammar the light finally went on. Since this was a dialog box, there would be a good chance that there was a resource template for it in HC's resource fork. If it existed, I could modify it for a multi-line TextEdit box. I got out ResEdit 1.2b3 and went browsing though HC's DLOG resources and sure enough, there it was: DLOG/DITL 2101 "Answer" ("Ask" is 2100). At first I thought of modifying it right there, but then no one else using my stack would see more than one line. So I copied the DLOG and DITL to the resource fork of my stack and modifed them there. I added 18 to the bottom of the window and TextEdit rects, and 18 to the top and bottom of the three button rects. This gave me a 2-line TextEdit box in the "Answer" dialog, just what I needed. The same technique could be applied to the "Ask" dialog. Thanks, Bill, for not hard-codeing those DLOGs into HC. Herb Poppe NCAR INTERNET: hpoppe@ncar.ucar.edu (303) 497-1296 P.O. Box 3000 CSNET: hpoppe@ncar.CSNET Boulder, CO 80307 UUCP: hpoppe@ncar.UUCP