home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Think Class Libraries / Expander / READ ME.note < prev    next >
Encoding:
Text File  |  1994-11-30  |  1.1 KB  |  27 lines  |  [TEXT/KAHL]

  1. Expander Sample
  2. ---------------
  3.  
  4. This project contains all of the source for the Expander class. This demo
  5. displays a hierarchical list of elements; level exposure is controlled
  6. via toggle buttons on the left side of each line.
  7.  
  8. Update Info
  9. -----------
  10.  
  11. This latest release has some changes to CExpanderLabel. It no longer works with Str255 data for
  12. its storage; instead, it expects to have a 'STR ' resource handle to display. As a result, the
  13. old API's for setting a label's text are no longer supported. You can create your own type of
  14. label pane and install it by overriding CExpander's MakeExpanderLabel() method. NOTE: to do so
  15. you will also have to call IExpander() sometime after creating the CExpander object. This works
  16. much like the classes in TCL, and was the only way I could think of to do it.
  17.  
  18. Removing Str255 storage reduces memory usage, especially since labels are rarely longer than 20 - 30
  19. characters. Sorry for the inconvenience.
  20.  
  21. I also removed CExpanderHeader class. It never really did anything anyway...
  22.  
  23.  
  24. Brad Howes
  25. B-Ray Software
  26. CompuServ 73767,1510
  27.