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 ?
How can I associate a context menu to a DrawLine tool ?
-
- Newbie
- Posts: 41
- Joined: Wed Jan 30, 2008 12:00 am
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Srinivas,
You can use its Select event and display context menu related to selected line. A simple example:
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;
}
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |