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
0003987 [JEDI VCL] 00 JVCL Components text N/A 2006-11-05 23:12 2007-01-04 09:43
Reporter EinWill View Status public  
Assigned To outchy
Priority normal Resolution fixed  
Status resolved   Product Version 3.20
Summary 0003987: Strange initial value for TJvDBSpinEdit.DownClick
Description File jvdbspinedit.pas, lines 182-193:

-------------------------------------------------------------
procedure TJvDBSpinEdit.DownClick(Sender: TObject);
begin
  FDataLink.Edit;
  if IsNull then
  begin
    FIsNull := False;
    Value := 1;
    FIsNull := False;
    Text := '1';
  end;
  inherited DownClick(Sender);
end;
-------------------------------------------------------------

Did you really mean it? It's a matter of agreement, but "Value := 0" or
"Value := -1" (and correspondingly Text :=...) will look more naturally.


Right now this value is overwritten, therefore it doesn't cause any problem. But it might lead to a strange behavior of the component in the future. So it's better to fix it.
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0010536)
outchy (administrator)
2007-01-04 09:41

Fixed in revision 11130.

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


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