home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / YellowBox / Kits / MiscTableScroll-138.1 / Palettes / MiscTableScroll / Palette / MiscTableScrollPalette.M < prev    next >
Encoding:
Text File  |  1998-03-31  |  2.0 KB  |  51 lines

  1. //=============================================================================
  2. //
  3. //    Copyright (C) 1996,1997,1998 by Paul S. McCarthy and Eric Sunshine.
  4. //        Written by Paul S. McCarthy and Eric Sunshine.
  5. //                All Rights Reserved.
  6. //
  7. //    This notice may not be removed from this source code.
  8. //
  9. //    This object is included in the MiscKit by permission from the authors
  10. //    and its use is governed by the MiscKit license, found in the file
  11. //    "License.rtf" in the MiscKit distribution.  Please refer to that file
  12. //    for a list of all applicable permissions and restrictions.
  13. //    
  14. //=============================================================================
  15. //-----------------------------------------------------------------------------
  16. // MiscTableScrollPalette.M
  17. //
  18. //    Subclass of IBPalette for the MiscTableScroll palette.
  19. //
  20. //-----------------------------------------------------------------------------
  21. //-----------------------------------------------------------------------------
  22. // $Id: MiscTableScrollPalette.M,v 1.6 98/03/30 00:03:24 sunshine Exp $
  23. // $Log:    MiscTableScrollPalette.M,v $
  24. // Revision 1.6  98/03/30  00:03:24  sunshine
  25. // v138.1: #import was missing "MiscTableScroll/" for public header.
  26. // 
  27. // Revision 1.5  98/03/22  13:07:23  sunshine
  28. // v133.1: Turns on auto-sort for rows.
  29. // 
  30. // Revision 1.4  97/03/10  10:41:54  sunshine
  31. // v113.1: For OpenStep conformance, -setCol:... renamed to -setColumn:...
  32. //-----------------------------------------------------------------------------
  33. #import "MiscTableScrollPalette.h"
  34. #import    <MiscTableScroll/MiscTableScroll.h>
  35.  
  36. @implementation MiscTableScrollPalette
  37.  
  38. //-----------------------------------------------------------------------------
  39. // - finishInstantiate
  40. //-----------------------------------------------------------------------------
  41. - (void)finishInstantiate 
  42.     {
  43.     [tableScroll addColumn];
  44.     [tableScroll addColumn];
  45.     [tableScroll setColumn:1 autosize:YES];
  46.     [tableScroll setAutoSortRows:YES];
  47.     [tableScroll tile]; 
  48.     }
  49.  
  50. @end
  51.