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