View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001577 | JEDI VCL | 00 JVCL Components | public | 2004-04-04 05:36 | 2004-04-04 10:43 |
Reporter | anonymous | Assigned To | user72 | ||
Priority | normal | Severity | block | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0001577: TJvSpinEdit tries to modify a dataset without putting it in edit mode. | ||||
Description | The UpdateData method of TJvSpinEdit does not check if the dataset is in edit mode before attempting to update it. This problem fires if the spinedit is modified by way of the updown arrow buttons. I'm using JVCL 2.10 with bugfix to 0001432 applied. | ||||
Additional Information | Proposed changes: call FFieldDataLink.Edit before updating the data. procedure TJvDBSpinEdit.UpdateData(Sender: TObject); { UpdateData is only called after calls to both FFieldDataLink.Modified and FFieldDataLink.UpdateRecord. } begin if not ReadOnly then begin FFieldDataLink.Edit; FFieldDataLink.Field.AsString := Self.Text; end; end; | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2004-04-04 05:36 | anonymous | New Issue | |
2004-04-04 10:43 |
|
Status | new => resolved |
2004-04-04 10:43 |
|
Resolution | open => fixed |
2004-04-04 10:43 |
|
Assigned To | => user72 |
2004-04-04 10:43 |
|
Note Added: 0003629 |