Discussion of article "DoEasy. Controls (Part 29): ScrollBar auxiliary control"

 

New article DoEasy. Controls (Part 29): ScrollBar auxiliary control has been published:

In this article, I will start developing the ScrollBar auxiliary control element and its derivative objects — vertical and horizontal scrollbars. A scrollbar is used to scroll the content of the form if it goes beyond the container. Scrollbars are usually located at the bottom and to the right of the form. The horizontal one at the bottom scrolls content left and right, while the vertical one scrolls up and down.

Compile the EA and launch it on the chart:


We see that the scrollbars are created in the right places and have normal controls that respond to mouse interaction. Control objects on scrollbars are painted in the wrong colors when hovering over them with the mouse cursor because I have not created event handlers for these controls yet. I will fix this in subsequent articles.

Author: Artyom Trishkin

Reason: