ColorEditor ?

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Uli
Newbie
Newbie
Posts: 80
Joined: Thu Apr 22, 2010 12:00 am

ColorEditor ?

Post by Uli » Fri Jul 30, 2010 9:33 am

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
ce.JPG (15.66 KiB) Viewed 7641 times
Why?

Best regards

Uli

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: ColorEditor ?

Post by Sandra » Fri Jul 30, 2010 10:41 am

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,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Uli
Newbie
Newbie
Posts: 80
Joined: Thu Apr 22, 2010 12:00 am

Re: ColorEditor ?

Post by Uli » Fri Jul 30, 2010 11:36 am

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

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: ColorEditor ?

Post by Sandra » Mon Aug 02, 2010 8:56 am

Hello Uli,

Thanks for information. I glad that solution works fine for you:)


Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply