Page 1 of 1

How can I associate a context menu to a DrawLine tool ?

Posted: Thu Nov 13, 2008 7:15 pm
by 13048149
I would like the user to configure individual DrawLineItem properties using a context menu.

How can I associate a context menu to a DrawLine tool ?

Posted: Fri Nov 14, 2008 8:43 am
by narcis
Hi Srinivas,

You can use its Select event and display context menu related to selected line. A simple example:

Code: Select all

		void drawLine1_Select(Steema.TeeChart.Tools.DrawLine sender)
		{
			sender.Selected.Pen.Color = Color.Red;
		}