CCheckGroup returns ''array out of range'' when trying to check items not visible
Your topic has been moved to the section: Expert Advisors and Automated Trading
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
Fernando Carreiro #:
Your topic has been moved to the section: Expert Advisors and Automated Trading
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
I thought the section "Library comments" was good since this is exactly a comment on a strange behaviour (bug?) of the Standard Library.
Your topic has been moved to the section: Expert Advisors and Automated Trading
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
This is the same example from the library https://www.mql5.com/en/docs/standardlibrary/controls/ccheckgroup with the highlighted lines changed in order to produce the issue in question.
I'm trying to initialize all the check-boxes as checked, even those not visible (you have to scroll the chek-group to see them).
It returns the error:
which is inside the method:
I don't know why it is idx<64.
If it is changed in idx<m_total_view no error is raised and all the check-boxes, even those not visible, are checked.