View Issue Details

IDProjectCategoryView StatusLast Update
0004070JEDI VCL00 JVCL Componentspublic2008-02-21 06:35
ReporterjayAssigned Toobones 
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionsuspended 
Product Version3.30 
Target VersionFixed in Version 
Summary0004070: Display Format of TJvDbDateEdit
DescriptionIs there a way to change the display format of the TJcDbDateEdit component? As it is now, a date appears as 01/06/2006, but its not very clear to the user if it is "January 6 2006" or "June 1 2006".

It would be convenient if we could specify the display format as 'dd/mmm/yyy' or 'mmm/dd/yyyy'.

The best opcion would be for the component to respect the fields properties "DisplayFormat" and "EditMask" as any standard component does. This way, if the properties have:

DisplayFormat := 'dd/mmm/yyy'
EditMask := !99/99/9999;1;_

The Date would be displayed as '01/Jun/2006' and when it gets focus, it displays (and allows edit) in the way of '01/06/2006' (for direct input).

All other DB components work this way except for the TJvDbDateEdit and TJvDBDatePickerEdit.

Regards
Jose Ostos
TagsNo tags attached.

Activities

obones

2007-06-19 08:02

administrator   ~0013450

As far as I know, it uses the regional settings of the computer it is running on. If you manage to include the changes you suggest, please attach them to this issue.

jay

2007-06-19 11:54

reporter   ~0013473

What is essentially needed is to implement the DisplayMask and EditMask properties inhereted from the TField component. I have looked at the source code but frankly it is beyond my scope of knowledge.

Regards
Jose Ostos

obones

2007-06-20 03:26

administrator   ~0013495

Maybe you could get some inspiration from the other components you mentioned and that implement your request. I'm not a specialist on DB components either.

obones

2007-10-12 04:33

administrator   ~0013907

Any news?

obones

2008-02-21 06:35

administrator   ~0014248

Well, no news, not many people have the required expertise, so this issue is suspended until further notice.

Issue History

Date Modified Username Field Change
2007-02-22 22:01 jay New Issue
2007-06-19 08:02 obones Note Added: 0013450
2007-06-19 08:02 obones Status new => feedback
2007-06-19 11:54 jay Note Added: 0013473
2007-06-20 03:26 obones Note Added: 0013495
2007-10-12 04:33 obones Note Added: 0013907
2007-10-12 04:33 obones Status feedback => acknowledged
2008-02-21 06:35 obones Status acknowledged => resolved
2008-02-21 06:35 obones Resolution open => suspended
2008-02-21 06:35 obones Assigned To => obones
2008-02-21 06:35 obones Note Added: 0014248