Discussion of article "Graphical Interfaces XI: Integrating the Standard Graphics Library (build 16)" - page 10

 

Hello.

How can I put another complex object into a table cell? If it is, for example, a graph or something else, not just an imag.

 

so good GUI!

I am sorry!

Element.mqh have some errors. can you correct them!

can you correct them! thank you! @Anatoli Kazharski

class CWindow; //have no body

bool CElement::CheckMainPointer(void)

{

//--- Если нет указателя

if(::CheckPointer(m_main)==POINTER_INVALID)

{

//--- Вывести сообщение в журнал терминала

::Print(__FUNCTION__,

" > Перед созданием элемента... \n... .нужно передать указатель на главный элемент: "+

ClassName()+"::MainPointer(CElementBase &object)").

//--- Прервать построение графического интерфейса приложения

return(false);

}

//--- Сохранение указателя на форму

m_wnd=m_main.WindowPointer();

//--- Если нет указателя на форму

if(::CheckPointer(m_wnd)==POINTER_INVALID)

{

//--- Вывести сообщение в журнал терминала

::Print(__FUNCTION__,

" > У элемента "+ClassName()+" нет указателя на форму!... \n "+

"... .Элементы должны создаваться в порядке своей вложенности!");

//--- Прервать построение графического интерфейса приложения

return(false);

}

//--- Сохранение указателя на курсор мыши

m_mouse=m_main.MousePointer();

//--- Сохранение свойств

m_id =m_wnd.LastId()+1; // 'LastId' - undeclared identifier Element.mqh 842 22

m_chart_id =m_wnd.ChartId(); // 'ChartId' - undeclared identifier Element.mqh 843 22

m_subwin =m_wnd.SubwindowNumber(); // 'SubwindowNumber' - undeclared identifier Element.mqh 844 22

m_corner =(ENUM_BASE_CORNER)m_wnd.Corner(); // 'Corner' - undeclared identifier Element.mqh 845 40

m_anchor =(ENUM_ANCHOR_POINT)m_wnd.Anchor(); // 'Anchor' - undeclared identifier Element.mqh 846 41

//--- Отправить признак наличия указателя

return(true);

}

 
Hi, it seems you've done a great job. After a lot of new builds/update, is there a Examplepage for the last  build with all avivable elements? I go a bit crazy to do the first steps and overview in your Gui ...:-)