home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / programm / 20881 < prev    next >
Encoding:
Text File  |  1993-01-07  |  1.7 KB  |  40 lines

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