Print Page | Close Window

Issues of ver 15.2.1

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=21886
Printed Date: 17 June 2025 at 11:07am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Issues of ver 15.2.1
Posted By: Nik
Subject: Issues of ver 15.2.1
Date 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.





Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net