Discussion of article "DoEasy. Controls (Part 18): Functionality for scrolling tabs in TabControl"

 

New article DoEasy. Controls (Part 18): Functionality for scrolling tabs in TabControl has been published:

In this article, I will place header scrolling control buttons in TabControl WinForms object in case the header bar does not fit the size of the control. Besides, I will implement the shift of the header bar when clicking on the cropped tab header.

The panels are created in a loop (for now, there is only one panel), because it turned out that if you create several panels with TabControl controls, these controls do not work correctly. To fix that, I will create the required number of panels.

Let's compile the EA and run it on the chart after setting the required settings:


As we can see, the declared functionality works correctly.

Author: Artyom Trishkin