View Issue Details

IDProjectCategoryView StatusLast Update
0001803JEDI VCL00 JVCL Componentspublic2004-05-28 01:05
ReporterhamiltonAssigned Touser72 
PrioritynormalSeveritytweakReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0001803: TJvDBDateTimePicker does not fully process first cursor key
DescriptionThis is a bit hard to describe so I will use steps:
1. Click on the edit portion of a TJvDBDateTimePicker
   (whether it is used for date or time does not matter)
2. Press up or down arrow once
   -> the dataset is put into edit mode
3. Press up or down arrow again
   -> the dataset field changes value

ie the first up or down arrow pressed is not fully processed - it should put the dataset in edit mode + change the value.
TagsNo tags attached.

Activities

user72

2004-05-27 10:41

  ~0004382

I think you can resolve that by adding the following to the end of KeyDown:

    VK_INSERT:
      if ssShift in Shift then
        FDataLink.Edit;

    else
      FDataLink.Edit;

hamilton

2004-05-27 11:02

reporter   ~0004386

Yes, that worked well.

One consequence of this modification is that pressing 'z' and other invalid characters will put the dataset in edit mode. I don't think that is a problem
but thought i'd mention it just in case.

Will you incorporate this fix into the source?

user72

2004-05-28 01:05

  ~0004401

Fixed in CVS

Issue History

Date Modified Username Field Change
2004-05-27 10:19 hamilton New Issue
2004-05-27 10:41 user72 Note Added: 0004382
2004-05-27 10:41 user72 Status new => assigned
2004-05-27 10:41 user72 Assigned To => user72
2004-05-27 11:02 hamilton Note Added: 0004386
2004-05-28 01:05 user72 Status assigned => resolved
2004-05-28 01:05 user72 Resolution open => fixed
2004-05-28 01:05 user72 Note Added: 0004401