When I use below code,
TChart1.Legend.CustomPosition = True
TChart1.Legend.AutoSize = False
How to drag and resize the legend rely on mouse at runtime?
Thanks.
How to drag and resize the legend at runtime?
-
- Newbie
- Posts: 57
- Joined: Wed Jan 30, 2008 12:00 am
Hello Chris,
you have to use the mouse events, like mouse down, mouse move, checking if legend has been clicked into it (Chart1.Legend.Clicked(x,y)).
you have to use the mouse events, like mouse down, mouse move, checking if legend has been clicked into it (Chart1.Legend.Clicked(x,y)).
Pep Jorge
http://support.steema.com
http://support.steema.com