View Issue Details

IDProjectCategoryView StatusLast Update
0004194JEDI VCL00 JVCL Componentspublic2007-08-18 06:58
ReporterbrauneAssigned ToAHUser 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product VersionDaily / GIT 
Target VersionFixed in Version3.34 
Summary0004194: JvDBDateTimePicker Escape do Beep
DescriptionHi,

Press Esc key make beep, have changed procedure to following code:

procedure TJvDBDateTimePicker.KeyPress(var Key: Char);
begin
  if FIsReadOnly and not FDataLink.CanModify then
  begin
    if BeepOnError then
      Beep;
    Key := #0;
    Exit;
  end;

  inherited KeyPress(Key);
  if (Key in [0000032..0000255]) and ((FDataLink.Field <> nil) and
    not (FDataLink.Field.IsValidChar(Key))) then
  begin
    if BeepOnError then
      Beep;
    Key := #0;
  end;
  case Key of
    0000032..0000255:
      FDataLink.Edit;
    Esc:
      begin
        FDataLink.Reset;
        SetFocus;
        Key := #0; // Braune changed - 06.08.2007
      end;
  end;
end;

Regards
Uwe
TagsNo tags attached.

Activities

AHUser

2007-08-18 06:57

developer   ~0013640

Fixed in SVN

Issue History

Date Modified Username Field Change
2007-08-06 11:29 braune New Issue
2007-08-18 06:57 AHUser Status new => resolved
2007-08-18 06:57 AHUser Fixed in Version => Daily / SVN
2007-08-18 06:57 AHUser Resolution open => fixed
2007-08-18 06:57 AHUser Assigned To => AHUser
2007-08-18 06:57 AHUser Note Added: 0013640