How do I retain my Custom Colours between sessions?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
How do I retain my Custom Colours between sessions?
Sorry, I suspect that this will turn out to be a daft question, but I can't work out how to retain my Custom Colours between LiveCode sessions.
I have the app that I'm developing. I go through and carefully define the Custom Colours that I want using the IDE (Property Inspector / Colours & Patterns / Custom Colours / Define Custom Colour)
- if I save my app, close it, then re-open it in the SAME IDE SESSION of Livecode - the custom colours that I've defined are still shown in the Custom Colour section of the Colours window. All good so far.
- but if I save my app, then exit LiveCode, then re-open the Livecode IDE and the app that I'm working on - the custom colours that I've defined are all gone. Each object within the app still has the correct colour, but if I want to assign the same colour to a new object then I've got to repeat the process of defining that colour manually.
How do I retain my Custom Colour palette between Livecode sessions? I have tried playing around with the "Lock Palette" button, but I can't work out what effect it is having - and my custom colour palette is lost between sessions in both "locked" and "unlocked" modes.
Thanks in advance
I have the app that I'm developing. I go through and carefully define the Custom Colours that I want using the IDE (Property Inspector / Colours & Patterns / Custom Colours / Define Custom Colour)
- if I save my app, close it, then re-open it in the SAME IDE SESSION of Livecode - the custom colours that I've defined are still shown in the Custom Colour section of the Colours window. All good so far.
- but if I save my app, then exit LiveCode, then re-open the Livecode IDE and the app that I'm working on - the custom colours that I've defined are all gone. Each object within the app still has the correct colour, but if I want to assign the same colour to a new object then I've got to repeat the process of defining that colour manually.
How do I retain my Custom Colour palette between Livecode sessions? I have tried playing around with the "Lock Palette" button, but I can't work out what effect it is having - and my custom colour palette is lost between sessions in both "locked" and "unlocked" modes.
Thanks in advance
Re: How do I retain my Custom Colours between sessions?
Hi.
I am still in 6.7.7, so I do not see the "Custom Colours / Define Custom Colour" you mention in the inspector. Where are the colors stored or assigned? Controls themselves (and their properties) are indeed saved between sessions.
But in any case, if this "property" is saved as a custom property, you can get it back in the next session.
Is this close to what you might find helpful?
Craig Newman
I am still in 6.7.7, so I do not see the "Custom Colours / Define Custom Colour" you mention in the inspector. Where are the colors stored or assigned? Controls themselves (and their properties) are indeed saved between sessions.
But in any case, if this "property" is saved as a custom property, you can get it back in the next session.
Is this close to what you might find helpful?
Craig Newman
Re: How do I retain my Custom Colours between sessions?
Hi
I'm using Livecode 7.1, on Windows 7
When I go into the Property Inspector for an object,
- I select Colours and Patterns
- Then Foreground Colour (sorry - I missed this step in my earlier description); then I'm looking at the Colours pop-up window
- I select one of the 16 black Custom Colour slots
- I select Define Custom Colours
- I fill in the RGB values that I want
- I select Add To Custom Colours
- I select OK
- later I choose File > Save, to save my Livecode project
This has the effect of saving the Custom Color (making it available in the Custom Colours palette on the Color window), but only for this session of Livecode. I'm trying to find out how I re-gain access to this same palette of custom colours after I start a new session of Livecode. It's just starting to get pretty tedious re-defining the same Custom Colours every day
Thanks in advance
I'm using Livecode 7.1, on Windows 7
When I go into the Property Inspector for an object,
- I select Colours and Patterns
- Then Foreground Colour (sorry - I missed this step in my earlier description); then I'm looking at the Colours pop-up window
- I select one of the 16 black Custom Colour slots
- I select Define Custom Colours
- I fill in the RGB values that I want
- I select Add To Custom Colours
- I select OK
- later I choose File > Save, to save my Livecode project
This has the effect of saving the Custom Color (making it available in the Custom Colours palette on the Color window), but only for this session of Livecode. I'm trying to find out how I re-gain access to this same palette of custom colours after I start a new session of Livecode. It's just starting to get pretty tedious re-defining the same Custom Colours every day

Thanks in advance
Re: How do I retain my Custom Colours between sessions?
Hi.
I am not quite seeing the options you describe. I tried with my copy of v.7.1. I am on a Mac.
But when I create several custom colors, they survive sessions.
A Windows thing?
Craig
I am not quite seeing the options you describe. I tried with my copy of v.7.1. I am on a Mac.
But when I create several custom colors, they survive sessions.
A Windows thing?
Craig
Re: How do I retain my Custom Colours between sessions?
Ah, no wonder. This has been the same for me forever. I thought it was one of those things that everyone just got used to bumbling along with, on whatever platform.
When I make a custom colour that I want to resuse, I will make a custom property containing the rgb values and "set the [back/text]color of ..." when the stack initialises, or for continued ide work I can always look up the custom property and set the colour again manually in the PI
When I make a custom colour that I want to resuse, I will make a custom property containing the rgb values and "set the [back/text]color of ..." when the stack initialises, or for continued ide work I can always look up the custom property and set the colour again manually in the PI
Re: How do I retain my Custom Colours between sessions?
Thanks both. At least I now know that it is not just something that I'm doing wrong.
Would it be worth me logging this as a bug or does RunRev already know about it?
Would it be worth me logging this as a bug or does RunRev already know about it?