Page 1 of 1

DrawLineItem

Posted: Tue Nov 03, 2020 4:29 pm
by 13049545
Hi All -- Love the DrawLines class never used it before.
I have a list on the screen where I have a list of DrawLineItems on chart.
I want to be able to click on a line item in my list and have that line become "selected" on the chart -- as if I clicked on the line itself.
Is there some way to do that programmatically?
Thanks.
Joseph
clickDrawlineSelect.jpg
clickDrawlineSelect.jpg (133.03 KiB) Viewed 8215 times

Re: DrawLineItem

Posted: Wed Nov 04, 2020 9:38 am
by 13049545
Figured it out --
Here's the code --
drawlinessolution.gif
drawlinessolution.gif (29.82 KiB) Viewed 8196 times

Re: DrawLineItem

Posted: Wed Nov 04, 2020 10:06 am
by Christopher
Hello,

you beat me to it! Very glad to see you managed to arrive at a satisfactory solution.