View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001504 | JEDI VCL | 00 JVCL Components | public | 2004-03-20 00:49 | 2004-03-20 01:33 |
Reporter | anonymous | Assigned To | user72 | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0001504: A problem with using TJvDBSpinEdit | ||||
Description | Hi, I've got a small problem with DataSet scrolling via TJvDBGrid: DataSet is in dsEdit state (Indicator column also indicates so) in case there is a TJvDBSpinEdit control on the form, although no manipulating/editing operation was performed on it, only displayed data was changed in spin edit. After the analysis, there is a little bug appeared in JvDBSpinEdit unit. I lightly looked on JvDBSpinEdit source code and made some small modification which seems to remedy the problem above. The modification is made in TJvDBSpinEdit.DoChange method (the first line is commented out and it's consequently replaced by subsequent four lines). Then, the DoChange method should look like this: procedure TJvDBSpinEdit.DoChange(Sender: TObject); begin // if FFieldDataLink.Edit then if (FFieldDataLink <> nil) and (FFieldDataLink.Field <> nil) and (FFieldDataLink.Field.AsString <> Self.Text) and FFieldDataLink.Edit then begin FFieldDataLink.Modified; { Data has changed. } if Assigned(FOnChange) then FOnChange(Self); end; end; (The attached file contains it at all) Maybe there are better ways to workarround this problem, indeed I don't inspect them at large. Thank you for you labour. Best regards, Martin Kvoch kvoch@civ.zcu.cz | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2004-03-20 00:49 | anonymous | New Issue | |
2004-03-20 00:49 | anonymous | File Added: JvDBSpinEdit.pas | |
2004-03-20 01:33 |
|
Status | new => resolved |
2004-03-20 01:33 |
|
Resolution | open => fixed |
2004-03-20 01:33 |
|
Assigned To | => user72 |
2004-03-20 01:33 |
|
Note Added: 0003401 |