Download MetaTrader 5

New article: Graphical Interfaces VIII – the Сalendar control (Chapter 1)

To add comments, please log in or register
MetaQuotes Software Corp.
MetaQuotes Software Corp.  

New article Graphical interfaces VIII: the Сalendar control (Chapter 1) has been published:

In the chapter VIII of the series of articles dedicated to creating graphical interfaces in MetaTrader, we will consider complex composite controls like calendars, tree view, and file navigator. Due to the large amount of information, there are separate articles written for every subject. The first chapter of this part describes the calendar control and its expanded version — a drop down calendar.

Let's list all the components of the calendar.

  1. Area
  2. Buttons for switching to previous and following months
  3. Combo box control with a list of months
  4. Fields to enter a year
  5. Array of text labels with abbreviations of days of the week
  6. Separation line
  7. Two-dimensional array of text labels with dates
  8. Button to quickly jump to the next date


Fig. 1. Components of the calendar.

Author: Anatoli Kazharski

To add comments, please log in or register