home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!usc!rpi!batcomputer!munnari.oz.au!uniwa!cujo!peter
- From: peter@cujo.curtin.edu.au (Peter N Lewis)
- Subject: Re: List Manager help wanted
- Message-ID: <1993Jan7.133740.14510@cujo.curtin.edu.au>
- Organization: Curtin University of Technology
- References: <D2150096.mur2al@sproul.sproul.com>
- Date: Thu, 7 Jan 1993 13:37:40 GMT
- Lines: 29
-
- Sproul@sproul.sproul.com (Mark Sproul) writes:
-
-
- >In article <1993Jan4.061905.14455@midway.uchicago.edu> (comp.sys.mac.programmer), hd12@ellis.uchicago.edu writes:
- >> I like to creat a list containing file names, size, date etc. Each entry
- >> should be in a single cell. After I put file name in the cell using
- >> LSetCell, I have to add size, date etc. in the same cell. Although I can
- >> use LAddToCell to do that but that will make the size field not aligned
- >> vertically. Anyone know an elegent way to handle this? Thank you very much.
-
- >To do what you want, first BEFORE creating the list, set the font
- >for that list to Monoco. This will set it to a mono-space font.
- >Any other monospace font will work as well.
-
- That will work, but you can write your own LDEF to display any
- information in any format you like. An LDEF is probably the simplest
- proc code you can write. You can get some pascal sample LDEF code
- with my Talk source code on
- sumex-aim.stanford.edu:/info-mac/source/pascal. There is probably some
- sample code on ftp.apple.com:/dts/mac/sc somewhere.
-
- The normal technique is to store a record/struct of the information you
- want and then write an LDEF proc to display it.
-
- Good luck,
- Peter.
- --
- _______________________________________________________________________
- Peter N Lewis <peter@ncrpda.curtin.edu.au> Ph: +61 9 368 2055
-