<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Bug in CXTPPropertyGridItemDouble</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Bug in CXTPPropertyGridItemDouble]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 24 May 2026 10:53:08 +0000</pubDate>
  <lastBuildDate>Fri, 18 Jul 2008 07:35:46 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=11487</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Bug in CXTPPropertyGridItemDouble : HelloWe changed to the new toolkit...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11487&amp;PID=38561&amp;title=bug-in-cxtppropertygriditemdouble#38561</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2329">nobs</a><br /><strong>Subject:</strong> 11487<br /><strong>Posted:</strong> 18 July 2008 at 7:35am<br /><br />Hello<br><br>We changed to the new toolkit Pro version (12.0) and found that there is still a bug I reportet over a Year ago!!<br><font face="Courier New, Courier, mono"><strong>Bug in CXTPPropertyGridItemDouble</strong><br>&nbsp;&nbsp;&nbsp;&nbsp;Posted: 08 November 2006 at 6:45am</font><br><br>I even told you a way to fix it but it seems nobody took me serious <img src="http://forum.codejock.com/smileys/smiley19.gif" border="0" align="absmiddle"><br><br>Here a second try: <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0" align="absmiddle"><br><br>Setting the Decimal Symbol via <font face="Courier New, Courier, mono">CXTPPropertyGridItemDouble::UseSystemDecimalSymbol</font> does not work<br><br>The flag is used in the method <br>"<font face="Courier New, Courier, mono">CString CXTPPropertyGridItemDouble::DoubleToString(double dValue)</font>"<br>If <font face="Courier New, Courier, mono">m_bUseSystemDecimalSymbol</font> isn't set<br>you do following code...<br><font face="Courier New, Courier, mono">CString strFormat(m_strFormat);<br>&nbsp;&nbsp;&nbsp; if (strFormat.IsEmpty())<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; strFormat = _T("%0.2f");<br><br>&nbsp;&nbsp;&nbsp; CString strValue;<br>&nbsp;&nbsp;&nbsp; <font color="#ff0000">strValue.Format(m_strFormat, dValue);</font><br>&nbsp;&nbsp;&nbsp; return strValue;<br><font face="Arial, Helvetica, sans-serif"><br>The red line should be replaced with&nbsp; like<br></font></font><font face="Courier New, Courier, mono"><font color="#ff0000">&nbsp;&nbsp;&nbsp; <font color="#000000">strValue.Format(strFormat, dValue);<br>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp; ^^^^^^^ <br><font face="Arial, Helvetica, sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; you are referencing the wrong variable</font></font></font></font><br><br>It would be nice if some add this fix for the next release<br><br>regards<br>nobs<br>]]>
   </description>
   <pubDate>Fri, 18 Jul 2008 07:35:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11487&amp;PID=38561&amp;title=bug-in-cxtppropertygriditemdouble#38561</guid>
  </item> 
 </channel>
</rss>