View Issue Details

IDProjectCategoryView StatusLast Update
0003985JEDI VCL00 JVCL Componentspublic2007-01-04 10:41
ReporterEinWillAssigned Tooutchy 
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Product Version3.20 
Target VersionFixed in Version3.30 
Summary0003985: Pressing "Esc" in TJvDBSpinEdit should reset the value from database
DescriptionRight now "Esc" key is ignored. While logically it should reset the spin value.

Solution: JvDbSpinEdit can override protected method KeyPress like this:
-------------------------------------------------------------
procedure TJvDBSpinEdit.KeyPress(var Key: Char);
begin
  if Key=0000027 then
    begin
     FDataLink.Reset;
     SelectAll;
     Key := #0;
    end;
  inherited;
end;
-------------------------------------------------------------
TagsNo tags attached.

Activities

outchy

2007-01-04 10:39

administrator   ~0010539

Fixed in revision 11132

Issue History

Date Modified Username Field Change
2006-11-05 23:05 EinWill New Issue
2007-01-04 10:39 outchy Status new => resolved
2007-01-04 10:39 outchy Fixed in Version => Daily / SVN
2007-01-04 10:39 outchy Resolution open => fixed
2007-01-04 10:39 outchy Assigned To => outchy
2007-01-04 10:39 outchy Note Added: 0010539