)) now I understand, by the way DataType() by default has what type? Or there is no default state and it is necessary to determine the type of the stored value before adding it to the cell?
By default string:
//+------------------------------------------------------------------+//| Initialising the specified column with default values ||//+------------------------------------------------------------------+void CCanvasTable::ColumnInitialize(constuint column_index)
{
//--- Initialisation of column properties with default values
m_columns[column_index].m_x =0;
m_columns[column_index].m_x2 =0;
m_columns[column_index].m_width =100;
m_columns[column_index].m_type =TYPE_STRING;
m_columns[column_index].m_text_align =ALIGN_CENTER;
m_columns[column_index].m_text_x_offset =m_text_x_offset;
m_columns[column_index].m_image_x_offset =m_image_x_offset;
m_columns[column_index].m_image_y_offset =m_image_y_offset;
m_columns[column_index].m_header_text ="";
}
Can you show an example of your task when you need more than one picture in a table cell?
statarbitrage, "two legs" input.
just now I have to write text in the table, the table is based on the standard library MetaQuotes, but I made this class back in 2014 and it is not as functional as yours, so I decided not to write my GUI library further, and the event model as in MFC (implemented in the standard library MetaQuotes) does not quite suit me )) your library is better and more functional.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
)) now I understand, by the way DataType() by default has what type? Or there is no default state and it is necessary to determine the type of the stored value before adding it to the cell?
By default string:
2 and 3 can be left out now. Do not call any methods in the form creation method of the CProgram user class:
well, there would be a third method to disable 1
Default string:
oops, already found it myself ))
I would add a third method to disable 1
I will add the UseCloseButton() method.
thanks )) and when to wait for all these updates?
One more question - is it possible to put two graphical objects in a table cell or is it restricted to only one?
If there is no such possibility, could you make combined pictures of buy_sell and sell_buy arrows in bmp16 format like in TestLibrary10 example ?
sps )) and when to wait for all these updates?
another question - is it possible to place two graphical objects in a table cell or is it limited to only one?
In general, be prepared for the fact that the next update may not be ever. )
And so, I hope to solve the list of tasks for the next article as soon as possible. Maybe in a week, maybe in two weeks, maybe in a month.
Can you show an example of your task when you need more than one picture in a table cell?
...
If there is no such possibility, could you make combined pictures of buy_sell and sell_buy arrows in bmp16 format, as in the TestLibrary10 example ?
Can you show an example of your task when you need more than one picture in a table cell?
statarbitrage, "two legs" input.
just now I have to write text in the table, the table is based on the standard library MetaQuotes, but I made this class back in 2014 and it is not as functional as yours, so I decided not to write my GUI library further, and the event model as in MFC (implemented in the standard library MetaQuotes) does not quite suit me )) your library is better and more functional.
I recommend that you learn to use some graphic editor to create or process images for the graphic interface yourself.
for me graphics is difficult, besides, you already have ready-made blanks on the basis of made buy and sell buttons.