Discussion of article "Graphical Interfaces VII: the Tables Controls (Chapter 1)"

 

New article Graphical Interfaces VII: the Tables Controls (Chapter 1) has been published:

The seventh part of the series on MetaTrader graphical interfaces deals with three table types: text label, edit box and rendered one. Another important and frequently used controls are tabs allowing you to show/hide groups of other controls and develop space effective interfaces in your MQL applications.

Text label tables consist of the following components:

  1. Background.
  2. Text labels.
  3. Vertical scroll bar.
  4. Horizontal scroll bar.

 Fig. 1. Compound parts of the text label control

Fig. 1. Compound parts of the text label table control

Author: Anatoli Kazharski

 
MetaQuotes Software Corp.:

Published article Graphical Interfaces VII: Elements "Tables" (Chapter 1):

Author: Anatoli Kazharski

Table on canvas - cool!
 
Vasiliy Sokolov:
The table on the canvas is cool!
The next challenge is to make it interactive. )
 
Anatoli Kazharski:
The next challenge is to make it interactive. )
If it wasn't for your series of articles, I'd say it's impossible or beyond good and evil ;)
 
Anatoli Kazharski:
The next challenge is to make it interactive. )
There's no doubt at all that you will. Everything as usual - cool! Dare maestro!!!
 
Well, I'll definitely have to do it now. I can't promise it'll be quick. )
 
MetaQuotes Software Corp.:

New article Graphical Interfaces VII: the Tables Controls (Chapter 1) has been published:

Author: Anatoli Kazharski

Awesome!
 
Got the following error messages when I tried to compile the code in  MetaTrader 5.0 Build 1347. 
I'm new to  programming and don't know what happened. Here are the errors and the respective lines where they occur.

'return' - cannot convert from const pointer to nonconst pointer SplitButon.mqh 90 65
  CContextMenu     *GetContextMenuPointer(void)        const { return(::GetPointer(m_drop_menu));  }

'return' - cannot convert from const pointer to nonconst pointer ListView.mqh 67 76
  CScrollV         *GetScrollVPointer(void)                       const { return(::GetPointer(m_scrollv)); }

'return' - cannot convert from const pointer to nonconst pointer CheckComboBox.mqh 90 81
 CListView        *GetListViewPointer(void)                           const { return(::GetPointer(m_listview));  

'return' - cannot convert from const pointer to nonconst pointer LabelsTable.mqh 78 69
   CScrollV         *GetScrollVPointer(void)                const { return(::GetPointer(m_scrollv)); }

'return' - cannot convert from const pointer to nonconst pointer LabelsTable.mqh 79 69
     CScrollH         *GetScrollHPointer(void)                const { return(::GetPointer(m_scrollh)); }

'return' - cannot convert from const pointer to nonconst pointer Table.mqh 101 74 e 102 74

   CScrollV         *GetScrollVPointer(void)                     const { return(::GetPointer(m_scrollv)); }
   CScrollH         *GetScrollHPointer(void)                     const { return(::GetPointer(m_scrollh)); }
 
'return' - cannot convert from const pointer to nonconst pointer CanvasTable.mqh 75 61 e 76 61
   CScrollV         *GetScrollVPointer(void)        const { return(::GetPointer(m_scrollv)); }
   CScrollH         *GetScrollHPointer(void)        const { return(::GetPointer(m_scrollh)); }

 
reboeiras:
Got the following error messages when I tried to compile the code in  MetaTrader 5.0 Build 1347. 
I'm new to  programming and don't know what happened. Here are the errors and the respective lines where they occur.

...

Download the latest version: Graphical Interfaces X: Updates for Easy And Fast Library (Build 2) 

 

[Deleted]  

Greetings!

I unpacked MQL5 Editor into the local directory, tried to compile it and got the following results


I will try to figure it out myself, but if you can help me, I will be grateful!

 
nkaretnikov:

Greetings!

I unpacked MQL5 Editor to the local directory, tried to compile it and received

...

I will try to figure it out myself, but if you can help me, I would be grateful!


Download the latest version of the library from this article: Graphical Interfaces X: Updates for the drawn table and code optimisation (build 10).