home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / programm / 14228 < prev    next >
Encoding:
Text File  |  1992-08-19  |  1.5 KB  |  37 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!utcsri!torn!watserv2.uwaterloo.ca!watserv1!wes.on.ca!tomh
  3. From: tomh@wes.on.ca (Tom Haapanen)
  4. Subject: Multicolumn listboxes
  5. Organization: Waterloo Engineering Software
  6. Date: Wed, 19 Aug 1992 18:11:18 GMT
  7. Message-ID: <1992Aug19.181118.14195@wes.on.ca>
  8. Lines: 27
  9.  
  10. All right, so maybe this is a FAQ, but it's not in the FAQ.  :)  I did a
  11. fair bit of Mac work waaaay back in 1984, but I've done much more Windows
  12. development since, so I feel a little bit lost in the Mac world.
  13.  
  14. What I'm trying to do is have a listbox with multiple aligned columns,
  15. sort of like this:  :)
  16.             +--------------------------+
  17.             |  Smith         Michael   |
  18.             |  Johnson       Dave      |
  19.             |  O'Brien       Dan       |
  20.             |                          |
  21.             +--------------------------+
  22.  
  23. In Windows, I'd create the listbox with the LBS_USESTABSTOPS style, but I
  24. don't know what to do on the Mac.  Do I need to claculate string lengths?
  25. (I hope not!)  Is there a way to get List Manager to recognize tabs?
  26.  
  27. Unfortunately, I've found it hard to find all this documented.  :(  I have
  28. spent over $150 on manuals, including Inside Mac I and V, and the first three
  29. volumes of the Chernicoff books (volume 3 was supposed to cover List Manager,
  30. but doesn't), and I'm still stuck.
  31.  
  32. Any assistance will be highly appreciated!
  33.  
  34. [ \tom haapanen    "i don't even know what street canada is on" -- al capone ]
  35. [ tomh@wes.on.ca                   "trust the programmer" -- ansi c standard ]
  36. [ waterloo engineering software      "to thine own self be true" -- polonius ]
  37.