|
From: Alexander S.K. <al...@be...> - 2012-12-13 11:34:27
|
Yet another typical things, which must be corrected: 1) sometimes the developer creates a class variable while there is already the one, which is intended for the same purposes. For example, the oWndParent in HMDIChildWindow, seems, does the same, what could do the oParent, inherited from HCustomWindow. Maybe, I missed something in this particular occasion, but, as far as I remember, this isn't the only occasion; BTW, adding a new class variable/method, the developer should leave a note about this in the Changelog for further investigation. 2) the situation, when the code of a parent class uses vars/methods of a child class. For example, the onSize static function in hcwindow.prg, which realizes the functionality of HCustomWindow class, uses the WindowState variable of a child HWindow class. Regards, Alexander. |