CXTPPropertyGridItemDate: Having problems changing |
Post Reply |
Author | |
drisch
Groupie Joined: 06 July 2006 Status: Offline Points: 16 |
Post Options
Thanks(0)
Posted: 06 October 2006 at 11:16am |
Hello,
I would like to put a date/time value into a property grid. If I use a CXTPPropertyGridItem, I have the drop-down calendar, but here is the problem.
As long as I only have a date and use the following format, everything works:
But when I try to show the date in the format "06-Oct-2006" as follows:
The date does indeed show correctly, but now when I change the date in the calendar, the change is ignored in the property cell. It just keeps the old value. If I try to add a time to my date, such as with the following:
the value displays properly initially, but if I make changes with the keyboard directly in the property cell (to change the time), the changes are not saved when I leave the cell, but rather revert to the old value. My two questions are, 1) how can I display a month as an abbreviation (e.g. Oct.) and still be able to edit the field; and 2) how can I display and edit the time along with the date? Any help would be appreciated.
Derek
|
|
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 |