Problem to apply aces color settings on program startup
Posted: Wed Jul 13, 2005 8:09 am
In have to setup axes color (Ticks and gride etc.) on the program startup. Axes colors are read from a file.
My problem is: if I apply the colors on startup in the OnShow procedure of the Mainform, it works correctly. If I use the same code in a different unit, I get the designtime colors. Changes only are applied when I create a setup form where graph.title.color is linked to a TButtonColor and this is clicked once.
What prevents the colors from being updated? Applying the Graph.color works fine
Messie
My problem is: if I apply the colors on startup in the OnShow procedure of the Mainform, it works correctly. If I use the same code in a different unit, I get the designtime colors. Changes only are applied when I create a setup form where graph.title.color is linked to a TButtonColor and this is clicked once.
What prevents the colors from being updated? Applying the Graph.color works fine
Messie