> [mailto:[EMAIL PROTECTED]]On Behalf Of Perry Chris
> Sent: 11 Jan 1999 1:33 AM
> Subject: MI Adding Custom Colours to the colour picker
> ....
> What I want to be able to do is have these extra colours available in my
> next MapInfo session, either by saving them (in a registry key???) or by
> recreating them when starting MapInfo.
>
> I know the actual pallette can be edited, but then existing colours will
be
> lost, which I do not want.

MapInfo can deal only, in a permanent manner with a 256 color palette that
is stored in the MapInfow.clr file. Temporarily, within a work session, you
can add upto 15 new colours that you defined as such but not through the
Options|Custom Colours command, through the style requester as you
mentionned.

You cannot store more than 256 different ones permanently. You could
redefine some offered in the default palette et create a new palette. IF you
do not wat to "loose" the original colours, make a copy of MapInfow.clr
under a different name (say, MapInfow.cl0; you can alternate palettes by
changing the extension. I think (I did not take the time to re-test it) it
will work during the same session (no need to restart MI) because MI reads
the file only when it needs it (like he does for the MapInfow.prj file for
projections).

Here is another "trick" :

Create a table with enough objects (simple boxes are enough) with the
colours you want (up to 15) defined in selecting one of the 15 originally
blank cells on the bottom row and clicking on the cells with ...

Save that table

When you want to use these colors again in another session, just open that
table. The non-standard colours will be added in the 15 bottom cells.


More about colours in chapter 12 of "My Bag o'Tricks" (order through our
site) and Colorfun.zip available also there

http://www.total.net/~rparis/gisproducts.html

Jacques Paris

----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to