home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / programm / 12891 < prev    next >
Encoding:
Internet Message Format  |  1992-07-22  |  1.7 KB

  1. Path: sparky!uunet!olivea!apple!apple!voder!nsc!amdahl!JUTS!duts!rla20
  2. From: rla20@duts.ccc.amdahl.com (Roger Allen)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: Spreadsheet like view
  5. Message-ID: <d9Gk02NE1apu01@JUTS.ccc.amdahl.com>
  6. Date: 21 Jul 92 20:56:52 GMT
  7. References: <1992Jul16.102544.10838@edsi.plexus.COM> <1992Jul17.013630.14805@edsi.plexus.COM>
  8. Sender: netnews@ccc.amdahl.com
  9. Reply-To: rla20@DUTS.ccc.amdahl.com (Roger Allen)
  10. Organization: Amdahl Corporation, Sunnyvale CA
  11. Lines: 29
  12.  
  13. In article <1992Jul17.013630.14805@edsi.plexus.COM> trimper@edsi.plexus.COM (Greg Trimper) writes:
  14. >trimper@edsi.plexus.COM (Greg Trimper) writes:
  15. >
  16. >>I am using Think C, and want to implement a spreadsheet-style view
  17. >>for displaying and editing data.  
  18. >
  19. >>The way I look at it, I have two options:
  20. >>1) A dialog with lots of editText items, get each item as it is edited
  21. >
  22. >>2) Draw a window with a TERect for EACH item, and handle data after TE is
  23. >>done with it - atoi, for example.
  24. >
  25.  
  26. The TCL for THINK C 5.0 has a spreadsheet class.  This is probably worth
  27. looking into.  It may be a bit of a stretch to put editing into each
  28. cell, but it should work.
  29.  
  30. >>Is there a good and EASY way of doing this?  I really only need a
  31. >>20x5 array of items - a little to big for a Dialog, but seems like it will
  32. >>be a pain in a window with TextEdit
  33.  
  34. Don't be afraid to go OO! (object-oriented) :)  Putting an CEditText
  35. item into each cell should handle it without much work by you.
  36.  
  37. Roger
  38. --
  39. > Roger Allen                   |                                        <
  40. > Amdahl Computer Development   | What are you looking here for?         <
  41. > rla20@cd.amdahl.com           |                                        <
  42.