Page 1 of 1
ColorEditor ?
Posted: Fri Jul 30, 2010 9:33 am
by 15655996
Hi,
when I use
Code: Select all
Dim dlg As New Editors.ColorEditor
If Not dlg.ShowDialog = Windows.Forms.DialogResult.OK Then Return
then I see this:
- ce.JPG (15.66 KiB) Viewed 7819 times
Why?
Best regards
Uli
Re: ColorEditor ?
Posted: Fri Jul 30, 2010 10:41 am
by 10050769
Hello Uli,
If you want call the EditorColor and see correctly its dialog, you need use next lines of code:
Code: Select all
Private Sub button1_Click(sender As Object, e As EventArgs)
Steema.TeeChart.Editors.ColorEditor.Choose(tChart1(0).Color)
End Sub
Could you please, say if previous lines work as you want in your application?
I hope will helps.
Thanks,
Re: ColorEditor ?
Posted: Fri Jul 30, 2010 11:36 am
by 15655996
Hi Sandra,
thanks for the fast response.
The code works in this manner:
Code: Select all
btnColor.BackColor = Editors.ColorEditor.Choose(btnColor.BackColor)
btnColor.BackColor is a buffer for the chosen color.
Best regards
Uli
Re: ColorEditor ?
Posted: Mon Aug 02, 2010 8:56 am
by 10050769
Hello Uli,
Thanks for information. I glad that solution works fine for you:)
Thanks,