Discussion of article "Graphical Interfaces XI: Text edit boxes and Combo boxes in table cells (build 15)"

 

New article Graphical Interfaces XI: Text edit boxes and Combo boxes in table cells (build 15) has been published:

In this update of the library, the Table control (the CTable class) will be supplemented with new options. The lineup of controls in the table cells is expanded, this time adding text edit boxes and combo boxes. As an addition, this update also introduces the ability to resize the window of an MQL application during its runtime.

For testing purposes, an MQL application has been created, which contains the table (CTable) and multiline text box (CTextBox) controls. In the first column of the table, all cells contain the checkbox control (CELL_CHECKBOX). In the second column of the table, cells have the "text box" type (CELL_EDIT). In the third column, the cells are alternately set to types "combo box" (CELL_COMBOBOX) and "text box" (CELL_EDIT). In the fifth column, the cells have the "button" type (CELL_BUTTON). The event handler of the MQL application's custom class will process and output the events into the multiline text box. 

This is how it works:

 Fig. 7. MQL application for testing the work done.

Fig. 7. MQL application for testing the work done.

Author: Anatoli Kazharski

 

Giant job!
Thank you so much!

 
In the current version you cannot set the window size smaller than 200x200 pixels.

Good afternoon.

What is the reason for this limitation?

 

Oleksii Chepurnyi:

What's the reason for this restriction?

Nothing.
 

Good afternoon.

Why do you dislike the numeric keypad so much :)

I added it, but there is a small glitch.

Enter a value, click outside the boundaries of TextEdit - everything is normal.

Enter a value, press Enter - the value disappears until we click outside the TextEdit boundary. Also disappears if you click on the border.

Tell me where to fix it.

 
Oleksii Chepurnyi:

...

Can you tell me where to fix it?

I can't tell you, it doesn't disappear for me.

If you make any changes to the code yourself, you will have to deal with it yourself, as only you know about these changes.

 
Anatoli Kazharski:

If you make any changes in the code yourself, you will have to deal with them yourself, as only you know about these changes.

With unchanged library the same thing. The problem, most likely, somewhere in the creation of TextEdit....

Will there be an application with all elements as in the previous articles?

 
Oleksii Chepurnyi:

With unchanged library the same thing. The problem is most likely somewhere in the creation of TextEdit...

Will there be an app with all the elements as in past articles?

There will be another update soon with a few more test apps. Probably this week.


 
Anatoli Kazharski:

There will be another update soon with a few more test apps. Probably this week.

OK. I'll wait :)

Thanks!

 
Anatoli Kazharski:

There will be another update soon with a few more test apps. Probably this week.


Always wondered - what is the usefulness of such "kaleidoscopes"? Purely for mat, stat researchers?

Well, that's rhetoric...

ZЫ. Oleg the Automaton likes such squiggles :)

 
Artyom Trishkin:

I always wondered - what is the usefulness of such "kaleidoscopes"? Purely for mat-, stat-researchers?

...

The article is called: Graphical Interfaces XI: Integrating the Graphics Standard Library (build 16).

The examples will show how to use the CGraphic class, already as an element of the graphical interface of the application, in your projects. How users will use it is up to them.