![]() |
Issues of ver 15.2.1 |
Post Reply ![]() |
Author | |
Nik ![]() Newbie ![]() Joined: 17 September 2013 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() Posted: 17 September 2013 at 5:34am |
ver 15.2.1
Some issues are present. May be they are still relevant up to now. In file XTPPropertyGridItemSize.cpp class CXTPPropertyGridItemSize::CXTPPropertyGridItemSizeWidth has this overloaded virtual method: virtual void OnValueChanged(CString strValue) { ((CXTPPropertyGridItemSize*)m_pParent)->SetWidth(strValue); } but in base class (in XTPPropertyGridItem.h) it is defined differently: virtual void OnValueChanged(const CString &strValue); so it is never called in CXTPPropertyGridItemSizeWidth and CXTPPropertyGridItemSizeHeight classes. As a side effect when one updates height or width properties they are never updated in CXTPPropertyGridItemSize caption, i.e. (Width; Height) string and HighlightChangedItems() method do not work in this situation. Also because of the majority of necessary methods and variables in CXTPPropertyGridItemSize class are defined as private, one should fully copy-paste this class to create his own in order to do simplest thing: change captions ‘Width’ and ‘Height’ to appropriate. |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |