Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!ncar!asuvax!stjhmc!p88.f15.n300.z1.fidonet.org!Lawson.English From: Lawson.English@p88.f15.n300.z1.fidonet.org (Lawson English) Newsgroups: comp.sys.mac.programmer Subject: Help Programming "Help" Message-ID: <34239.27875332@stjhmc.fidonet.org> Date: 6 Jan 91 16:26:06 GMT Sender: ufgate@stjhmc.fidonet.org (newsout1.26) Organization: FidoNet node 1:300/15.88 - Tucson Apple Core, Tucson AZ Lines: 35 Chuck Weinstock writes in a message to All CW> What I'm after is the style of help that shows two windows side-by-side, CW> both scrollable, with an index in the left window, and text in CW> the right window, but any reasonable facility would be fin I believe that MacTutor has published some code on this: as I recall, the trick was to have a STR# with the index to the TEXT resource *IN FRONT OF* the string that would show up on the left side. Simply strip off the number, convert it StrToNum and put into an array. Then whenever the List Manager returns a selection, GetResource('TEXT", index) and display it in the righthand list. Str# index 1: "#3546#Tommy" Str# index 2: "#5548#Betty" TEXT 3546: "Tommy is well known for being strange" TEXT 5548: "Betty is properly called 'Elisabeth'" and so on... Lawson -- Uucp: ...{gatech,ames,rutgers}!ncar!asuvax!stjhmc!300!15.88!Lawson.English Internet: Lawson.English@p88.f15.n300.z1.fidonet.org