Print Page | Close Window

[BUG] Editing Dates

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=19964
Printed Date: 28 March 2024 at 12:20pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [BUG] Editing Dates
Posted By: Hemesh
Subject: [BUG] Editing Dates
Date Posted: 16 July 2012 at 6:28am
Hi there,

There appears to be a bug for machines that have a regional date setting of a single month format. So, a customer has it set to "DD/M/YYYY". To get the PropertyGridItemDate to show the date in this format, you simply set the .Format() property to be be empty (vbNullString).

This works fine and shows the date correctly. However, for one digit months (16/7/2012 for example), when you give focus to the value to edit it, the input mask appears to be a "DD/MM/YYYY" format and it will blank out the month and year values!!!!! It looks very odd and could possibly lead to data corruption if the user isn't clued up about it! If the value isn't edited and you cancel the edit, the old value still remains.

You can re-create this issue easily on the code jock property grid sample if you set the DateItem.Format = "", and set you machine format to be DD/M/YYYY.

Any idea on a fix for this?

Cheers!


-------------
Product: Xtreme SuitePro (ActiveX) version 18.5.0

Platform: Windows 7 Enterprise (64-bit)

Language: Visual Basic 6.0



Replies:
Posted By: Hemesh
Date Posted: 21 August 2012 at 3:43am
Taken with CJ Support Ticket, and it's been fixed for the next release... anyone know when that might be?

-------------
Product: Xtreme SuitePro (ActiveX) version 18.5.0

Platform: Windows 7 Enterprise (64-bit)

Language: Visual Basic 6.0


Posted By: McKloony
Date Posted: 01 October 2013 at 10:40am
In 16.2.4 it is not fixed Unhappy

-------------
Product: Xtreme SuitePro (ActiveX) 16.2.5

Platform: XP / Windows 7

Language: Visual Basic 6.0 SP6



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