Print Page | Close Window

Incorrect function in CXTPPropertyGridItemDate

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=10449
Printed Date: 22 November 2024 at 5:02am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Incorrect function in CXTPPropertyGridItemDate
Posted By: mgampi
Subject: Incorrect function in CXTPPropertyGridItemDate
Date Posted: 02 May 2008 at 7:54am
Hi;
a few month ago I reported a incorrect functionality in CXTPPropertyGridItemDate::SetValue() ( http://forum.codejock.com/forum_posts.asp?TID=6404 - http://forum.codejock.com/forum_posts.asp?TID=6404 ). This failure is still present in 12.0 release (see red marked part):
 
void CXTPPropertyGridItemDate::SetValue(CString strValue)
{
 COleDateTime dt;
 TRY
 {
  if (ParseDateTime(dt, strValue))
  {
   SetDate(dt);
  }
  else if (dt.ParseDateTime(strValue, VAR_DATEVALUEONLY, LANG_RUSSIAN))
  {
   SetDate(dt);
  }
  else if (!m_strNullValue.IsEmpty())
  {
   COleDateTime dtNull;
   dtNull.SetStatus(COleDateTime::null);
   SetDate(dtNull);
  }
 }
 CATCH(COleException, e)
 {
 }
 END_CATCH
}


-------------
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022



Replies:
Posted By: mgampi
Date Posted: 13 August 2008 at 5:16pm
Hi;

and this fault got it also in version 12.0.1!!!!
When will this be changed?



-------------
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022


Posted By: Oleg
Date Posted: 14 August 2008 at 12:43am
Thanks, changed for 12.0.2.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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