Perhaps I'm doing this wrong, but I decided to use an NPaletteColorPane to display a set of colours which the user can select.
The thing is I want to use my own colours not one of the two predefined palettes. I can do the following:
NArgbColorValuePalette nevronPalette = new NArgbColorValuePalette(); nevronPalette.SetPredefinedPalette(PredefinedPalette.User);
but the Help gives me no clue how to define my own paltee from an array of Color.
Or, is there a better way to achieve this?
Thanks
Kevin
PS It shouldn't be this hard
Ok - I achieved it by creating Entries one by one from my colour array. Is this the best method?
Now I need to work out which event tells me a colour has been selected, since Mouse_Click can occur between colours. Is there a specific event to attach to? The example uses Mouse_Leave which isn't that useful.