Issue in CDatePicker control New comment DeltaElectronics 2018.07.16 11:19 have troubles in compiling the following method: #include <Controls\DatePicker.mqh> CDatePicker CFormDialog::createDate(x1,y1) { CDatePicker date; int x1 =10; int x2 =30; int y1 =20; int y2 =40; //--- create if(!date.Create(m_chart_id,m_name+"Date",m_subwin,x1,y1,x2,y2)) return(NULL); if(!Add(date)) return(NULL); date.Value(TimeCurrent()); return date; } But I got the following error on the last line return dateobject of 'CDatePicker' cannot be returned, copy constructor 'CDatePicker::CDatePicker(const CDatePicker &)' not found test.mq5 42 11What does exactly mean ?Is there a way to fix it ? Issue in creating a CDatePicker control Discussion of article "Using Layouts and Containers for GUI Controls: The CBox Class" Errors, bugs, questions New comment
have troubles in compiling the following method:
But I got the following error on the last line
return date
object of 'CDatePicker' cannot be returned, copy constructor 'CDatePicker::CDatePicker(const CDatePicker &)' not found test.mq5 42 11
What does exactly mean ?
Is there a way to fix it ?