Download MetaTrader 5

SimplePanel objective model issues

To add comments, please log in or register
fx_lord
6
fx_lord  

Hello,

I'm developing EA with SimplePanel. I stuck with it's objective model which seems to be broken. There is CCheckBox class. I have created some checkboxes but figured out that i can't change label properties (font size), there is no public or even protected interface to access label object. This object is private property also, so creating derived class is not a solution. All i can do is to modify source code of Standard Library and make this properties protected. I need some makro advise how to deal with this.. "thing". Should I fork all classes to my EA project or change the source code directly? What about platform updates?

Thanks for any tips.


PS. I'm PHP developer with more then 15 years of experience and the mess i found in MQL library code is just amazing.

To add comments, please log in or register