Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Property Grid
  New Posts New Posts RSS Feed - [BUG] Editing Dates
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[BUG] Editing Dates

 Post Reply Post Reply
Author
Message
Hemesh View Drop Down
Senior Member
Senior Member


Joined: 10 August 2010
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hemesh Quote  Post ReplyReply Direct Link To This Post Topic: [BUG] Editing Dates
    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
Back to Top
Hemesh View Drop Down
Senior Member
Senior Member


Joined: 10 August 2010
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hemesh Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
McKloony View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 January 2007
Location: Germany
Status: Offline
Points: 340
Post Options Post Options   Thanks (0) Thanks(0)   Quote McKloony Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.