![]() |
Bug in CXTPPropertyGridItemDouble |
Post Reply
|
| Author | |
nobs
Groupie
Joined: 12 September 2006 Location: Austria Status: Offline Points: 12 |
Post Options
Thanks(0)
Quote Reply
Topic: Bug in CXTPPropertyGridItemDoublePosted: 08 November 2006 at 6:45am |
|
Hello
There is a Bug in the CXTPPropertyGridItemDouble class ![]() in the function: CString CXTPPropertyGridItemDouble::DoubleToString(double dValue) you have the code CString strFormat(m_strFormat); if (strFormat.IsEmpty()) strFormat = _T("%0.2f"); CString strValue; strValue.Format(m_strFormat, dValue); return strValue; The red line should be replaced with like strValue.Format(strFormat, dValue); ^^^^^^^ you are referencing the wrong variable File XTPPropertyGridItemNumber.cpp Linenumber 193 I found this problem when using the function "UseSystemDecimalSymbol" |
|
![]() |
|
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 |