Project JEDI - Issue Tracker
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004194 [JEDI VCL] 00 JVCL Components minor always 2007-08-06 11:29 2007-08-18 06:58
Reporter braune View Status public  
Assigned To AHUser
Priority normal Resolution fixed  
Status resolved   Product Version Daily / GIT
Summary 0004194: JvDBDateTimePicker Escape do Beep
Description Hi,

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
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0013640)
AHUser (developer)
2007-08-18 06:57

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


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker