View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0004021 | JEDI VCL | 00 JVCL Components | public | 2006-12-15 09:56 | 2007-06-19 06:34 | 
| Reporter | apierson | Assigned To | obones | ||
| Priority | normal | Severity | minor | Reproducibility | always | 
| Status | resolved | Resolution | fixed | ||
| Product Version | 3.10 | ||||
| Target Version | Fixed in Version | 3.34 | |||
| Summary | 0004021: TJvTimeItem Data Property | ||||
| Description | The Data property of TJvTimeItem lets assign some User Stuff. But there is no way to free the data structure (like in a OnDeletion Event of TListView). | ||||
| Tags | No tags attached. | ||||
| 
		 | 
	Could you describe a case where items are deleted from JVCL code? | 
| 
		 | 
	
	When I create TJvTimeItem-Items in a TJvTimeLine then I can assign e.g. a self made record. type TMyData = record stuff: string; end; PMyData = ^TMyData; var P: PMyData; begin New(P); with TimeLine.Items.Add do begin Data := P; Remove; end; end; In this example the record behind Data is not freed and there is not event triggered where I can call a Dispose(PMyData(Data)).  | 
| 
		 | 
	I have added an OnDestroy event handler on TJvTimeItem, use this. | 
| Date Modified | Username | Field | Change | 
|---|---|---|---|
| 2006-12-15 09:56 | apierson | New Issue | |
| 2007-01-03 12:57 | outchy | Note Added: 0010503 | |
| 2007-01-08 14:47 | obones | Status | new => feedback | 
| 2007-01-19 10:11 | apierson | Note Added: 0010568 | |
| 2007-01-19 10:15 | apierson | Note Edited: 0010568 | |
| 2007-01-19 10:15 | apierson | Note Edited: 0010568 | |
| 2007-06-19 06:33 | obones | Status | feedback => resolved | 
| 2007-06-19 06:33 | obones | Fixed in Version | => Daily / SVN | 
| 2007-06-19 06:33 | obones | Resolution | open => fixed | 
| 2007-06-19 06:33 | obones | Assigned To | => obones | 
| 2007-06-19 06:33 | obones | Note Added: 0013429 |