I was looking on an API reference site for information on saving the Custom
Colors in the ChooseColor dialog. It appears it is only returning a single
value. When I use ChooseColor I initalize it with the current
color. $getcolor is what is returned (what I choose from the dialog
box). I would like to be able to store any custom colors that are
defined. Is there a way to do this? I couldn't figure it out form the API
reference. Here is my code:
sub BarPlotColor_Click {
my ($getcolor) = $MainWindow->ChooseColor(-color => $pcolorBar);
if ($getcolor) {
$pcolorBar = $getcolor;
}
GraphWork_Paint;
return;
}
Also, the dialog box always is placed at (0,0). Can this be changed?
Jonathan