Discussion of article "DoEasy. Controls (Part 30): Animating the ScrollBar control"

 

New article DoEasy. Controls (Part 30): Animating the ScrollBar control has been published:

In this article, I will continue the development of the ScrollBar control and start implementing the mouse interaction functionality. In addition, I will expand the lists of mouse state flags and events.

Compile the EA and launch it on the chart:


As we can see, the sliders are properly constrained within the scrollbar by the arrow buttons. The arrow buttons respond to clicks, the colors of the objects change according to the state of the object and the cursor during the interaction.

Author: Artyom Trishkin