Rectangular Tool Editing

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
history
Newbie
Newbie
Posts: 29
Joined: Tue May 22, 2007 12:00 am

Rectangular Tool Editing

Post by history » Fri Apr 04, 2008 11:28 am

We have a number of customers that would like to see us save the edited text within the retangular tool when they click on another object. Is it possible to add a lost focus event to the rectangular tool or do you have another way in which we can achieve the same result.

Thanks.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Apr 04, 2008 11:37 am

Hi history,

It's much simpler, you can just obtain the edited text in the chart's BeforeDraw event, for example:

Code: Select all

		void tChart1_BeforeDraw(object sender, Steema.TeeChart.Drawing.Graphics3D g)
		{
			MessageBox.Show(rect1.Text);
		}	
Best Regards,
Narcís Calvet / 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