New Article: MQL5 Cookbook - Indicator Subwindow Controls - Buttons

 

New article MQL5 Cookbook: Indicator Subwindow Controls - Buttons has been published at mql5.com:

In this article, we will consider an example of developing a user interface with button controls. To convey the idea of interactivity to the user, buttons will change their colors when the cursor hovers over them. With the cursor being over a button, the button color will be slightly darkened, getting significantly darker when the button is clicked. Furthermore, we will add tooltips to each button, thus creating an intuitive interface.

The article will also cover some events: mouse move event, state of the left mouse button, left-click on an object and the event of modifying chart properties. We are going to create a button panel that will take up the entire space of the indicator subwindow. For illustrative purposes, the buttons will be arranged in three rows, with four buttons in each row.

MQL5 Cookbook: Indicator Subwindow Controls - Buttons

Author: Anatoli Kazharski