Trading Chart: Remove Horizontal Scroll Bar Dotted Line When In Focus?
Moderator: Queue Moderators
- JeffFerguson
- Posts: 9
- Joined: Wed Oct 07, 2020 1:25 am
Trading Chart: Remove Horizontal Scroll Bar Dotted Line When In Focus?
The horizontal scroll bar associated with a TradingChart instance has a dotted line around it when the scroll bar has the focus (see attached image). Is there any way to get rid of that?
- Attachments
-
- scrollbar focus.jpg (26 KiB) Viewed 2876 times
-
- Posts: 141
- Joined: Wed Mar 27, 2019 1:05 pm
Re: Trading Chart: Remove Horizontal Scroll Bar Dotted Line When In Focus?
Hello Jeff,
The dotted line around the scrollbar marks that the bar has focus, and keys controls can be used to move it. Therefore, the correct options can be found KeyControlFocus property. There is no option to turn off the line, but you can change its color to transparent.
Hope this helps.
Best regards,
Lasse
The dotted line around the scrollbar marks that the bar has focus, and keys controls can be used to move it. Therefore, the correct options can be found KeyControlFocus property. There is no option to turn off the line, but you can change its color to transparent.
Code: Select all
horizontalScrollBar.KeyControlFocus.Color = Color.FromArgb(0, 0, 0, 0);
Best regards,
Lasse