home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / next / programm / 7780 < prev    next >
Encoding:
Internet Message Format  |  1992-12-16  |  1.8 KB

  1. Path: sparky!uunet!news.claremont.edu!ucivax!ucla-cs!ucla-mic!unixg.ubc.ca!unixg.ubc.ca!usenet
  2. From: paterson@gdss.commerce.ubc.ca (Toby Paterson)
  3. Newsgroups: comp.sys.next.programmer
  4. Subject: Re: Custom Palette for FormCell?
  5. Date: 16 Dec 1992 20:40:52 GMT
  6. Organization: The University of British Columbia
  7. Lines: 33
  8. Message-ID: <1go48kINNre8@iskut.ucs.ubc.ca>
  9. References: <1992Dec16.190747.23282@ornl.gov>
  10. Reply-To: paterson@gdss.commerce.ubc.ca
  11. NNTP-Posting-Host: gdss.commerce.ubc.ca
  12.  
  13. In article <1992Dec16.190747.23282@ornl.gov> woo@ornl.gov (John W. Wooten)  
  14. writes:
  15. > How do I create a custom palette for a subclass of TeXT or of Form  
  16. > Cell?
  17. Text and FormCell are both subclasses of View.  Just follow the  
  18. instructions for creating a CustomView palette.
  19.  
  20. > When I tried to convert EntryCheckForm, the file palette.table was  
  21. > never created even though I got no errors when starting project builder  
  22. > to build a custom palette.  Everything compiled, etc.  BUT when you try  
  23. > to use it, the palette that was generated won't load into IB.
  24. When you create a new palette project, ProjectBuiler automatically creates  
  25. an empty palette.table file for you; you still have to fill this file in  
  26. with the pertinent information.  This file is needed only by IB in order  
  27. to load the palette.
  28.  
  29. Since you are convertng a 2.0 IB project file, ProjectBuilder doesn't know  
  30. to create this file for you.  The solution is to find an existing 3.0  
  31. palette (or create a new one from ProjectBuilder) and copy its  
  32. palette.table file into your new project.
  33.  
  34. The format for the palette.table file is given somewhere in the IB  
  35. documentation and is pretty obvious.
  36.  
  37. X
  38.  
  39. --
  40. \\  /    Who:   Toby Paterson
  41.  \\/     How:   tpaterso@cs.ubc.ca, paterson@gdss.commerce.ubc.ca
  42.  //\     What:  Grunt and NeXT hacker; GDSS Fellowship
  43. //  \    Where: University of British Columbia
  44.