View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004170 | JEDI VCL | 00 JVCL Components | public | 2007-07-10 02:34 | 2008-02-21 06:42 |
Reporter | alex_ist | Assigned To | obones | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.32 | ||||
Target Version | Fixed in Version | 3.34 | |||
Summary | 0004170: JvImagesViewer does raise an exception on JvImagesViewer.Delete | ||||
Description | I put an TJvImagesViewer onto my Delphi form and set a directory in Object Inspector. An exception raise in run-time mode when I'm trying to delete one item. JvImagesViewer.Delete(i) or JvImagesViewer.Items[i].Delete. | ||||
Tags | No tags attached. | ||||
|
Please provide the zipped sources of a sample exception showing this. |
2007-07-10 03:49
|
JvImagesViewer.zip (365,360 bytes) |
|
Zipped sources file attached |
|
Is there anything ? |
|
Well, we are short on resources at this time of the year so this will be looked at as soon as possible but it may take a few days/weeks. |
|
ОК |
|
This error is in the file JvCustomItemViewer.pas procedure TJvCustomItemViewer.Delete(Index: Integer); begin Deleted(Items[Index]); TObject(FItems[Index]).Free; FItems.Delete(Index); if SelectedIndex >= Count then SelectedIndex := Count - 1; end; In the line TObject(FItems[Index]).Free; La solution is deleted line First it tries to release the memory and soon to erase it with which the error takes place |
|
I have just tried your demo with the very latest SVN content, I'm not seeing any problems with this. |
|
No reactions, I'm assuming this is fixed by the latest revisions. |
Date Modified | Username | Field | Change |
---|---|---|---|
2007-07-10 02:34 | alex_ist | New Issue | |
2007-07-10 02:53 | obones | Note Added: 0013557 | |
2007-07-10 02:53 | obones | Status | new => feedback |
2007-07-10 03:49 | alex_ist | File Added: JvImagesViewer.zip | |
2007-07-10 03:54 | alex_ist | Note Added: 0013559 | |
2007-07-13 01:14 | alex_ist | Note Added: 0013570 | |
2007-07-13 02:18 | obones | Note Added: 0013571 | |
2007-07-13 02:49 | alex_ist | Note Added: 0013572 | |
2007-07-14 03:35 | jeronimo | Note Added: 0013574 | |
2007-10-12 07:08 | obones | Note Added: 0013921 | |
2008-02-21 06:41 | obones | Status | feedback => resolved |
2008-02-21 06:41 | obones | Fixed in Version | => Daily / SVN |
2008-02-21 06:41 | obones | Resolution | open => fixed |
2008-02-21 06:41 | obones | Assigned To | => obones |
2008-02-21 06:41 | obones | Note Added: 0014250 |