🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.programmer
2 messages
2 total messages Started by John W. Wooten Wed, 16 Dec 1992 19:07
Custom Palette for FormCell?
#2093
Author: John W. Wooten
Date: Wed, 16 Dec 1992 19:07
15 lines
1037 bytes
I'm trying to convert a 2.0 release Custom Palette object called Entry  
Check Form to release 3.0 and also to implement a calculating Form Cell  
as a Custom Palette.  I find that the documentation says that I can  
only do this for subclasses of View, Object, Window, or MenuCell.

How do I create a custom palette for a subclass of TeXT or of Form  
Cell?

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.

- - - - - - - - -
J. W. Wooten
Re: Custom Palette for FormCell?
#2099
Author: Toby Paterson
Date: Wed, 16 Dec 1992 20:40
33 lines
1921 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads