View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003987 | JEDI VCL | 00 JVCL Components | public | 2006-11-05 23:12 | 2007-01-04 09:43 |
Reporter | EinWill | Assigned To | outchy | ||
Priority | normal | Severity | text | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
Product Version | 3.20 | ||||
Target Version | Fixed in Version | 3.30 | |||
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. | ||||
Tags | No tags attached. | ||||
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 |