Color Editor at RunTime
Posted: Fri Oct 20, 2006 9:27 pm
Hello,
The CPen1::ShowEditor() doesn't seem to be working for me. I've tried both of the following scenarios:
I can successfully change the "Visible", "Style", and "Width" properties, but not the color.
Also, the Caption in the editor is "Border Editor". Is there a way that I can manually change the name of the dialog box, so that it matches the name of the series that the user is modifying?
Thank you for any help,
Jennifer Britt
Campbell Scientific
The CPen1::ShowEditor() doesn't seem to be working for me. I've tried both of the following scenarios:
Code: Select all
CSeries series = pChartData->Series(iCurrentSel);
CLineSeries lineSeries = series.GetAsLine();
CPen1 pen = lineSeries.GetLinePen();
pen.ShowEditor();
...
CSeries series = pChartData->Series(iCurrentSel);
CPen1 pen = series.GetPen();
pen.ShowEditor();
Also, the Caption in the editor is "Border Editor". Is there a way that I can manually change the name of the dialog box, so that it matches the name of the series that the user is modifying?
Thank you for any help,
Jennifer Britt
Campbell Scientific