Hi Tobias,
You need to program this functionality into the X control. First you have to include the colours property in the state information so it will get saved with the VI. Then you have to write these colour values to a property node of the control in the facade vi, in the Display State Changed event. Then I put in an extra mouse up event and when ever this event occurs I write the value of the colours for the control to the Display state.
See attatched control.
One proviso is that this only works if you left click with the paint tool, the mouse up event fire before the colour is changed with a right click select colour.
Regards
Jon B
Applications Engineer
NI UK & Ireland