home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.hypercard
- Path: sparky!uunet!think.com!mintaka.lcs.mit.edu!lcs.mit.edu!nodine
- From: nodine@lcs.mit.edu (Mark H. Nodine)
- Subject: Re: increasing the max field length in HC from 30K?
- Message-ID: <1992Nov17.162801.2448@mintaka.lcs.mit.edu>
- Sender: news@mintaka.lcs.mit.edu
- Organization: MIT Laboratory for Computer Science
- References: <1992Nov16.030632.19012@mtu.edu> <1992Nov16.034159.19177@mtu.edu>
- Date: Tue, 17 Nov 1992 16:28:01 GMT
- Lines: 30
-
- In article <1992Nov16.034159.19177@mtu.edu>, warner@mtu.edu (Thumper (Nate)) writes:
- |> I have an HC stack that record the contents of disks, including what's in
- |> compact pro and stuffit archives. Unfortunately, a few of my archives consist
- |> of more than 30K in info. I was wondering if anyone had any ideas on how to
- |> increase the max size of a field. This would help me a lot. Pre-Thanks!!
-
- I had a stack to do exactly the same thing (it was actually
- a stack I got from someone who wrote it for floppies and
- modified to deal with larger disks). What my script does is
- put the list with all the information into a container and
- check to see if it was larger than 30K. If not, I just put
- it into the bg field; otherwise I put the first 30K into the
- bg fld (ending on a line break, of course...), and created a
- bunch of card fields, filling each with as much text as would
- fit. Finally, the script created a bunch ofc card radio buttons to
- switch back and forth (change the visibility) between the
- card field(s) and the bg field. It wasn't the world's most
- convenient thing, but it did work surprisingly well. My
- removable cartridges were only 10M, so I never needed more than
- 3 pages. If you are having much larger removables than that,
- you probably want to think about a better interface than
- radio buttons to switch between pages.
-
- It's also nice to put something in the idle handler so that
- if you do a "find" and it comes up in a field that's not visible,
- that it makes it visible for you.
-
- Have fun!
-
- --Mark
-