View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001403 | JEDI VCL | 00 JVCL Components | public | 2004-03-01 02:57 | 2004-04-22 01:10 |
| Reporter | xerkan | Assigned To | user72 | ||
| Priority | normal | Severity | block | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Summary | 0001403: TJvTrayIcon access violation | ||||
| Description | If there erase the PopupMenu associated with the trayicon of the form, when it pricks itself in this one to associate other it generates an error of the type access violation | ||||
| Additional Information | Si se borra el PopupMenu asociado al trayicon del formulario, cuando se pincha en este para asociarle otro genera un error del tipo access violation | ||||
| Tags | No tags attached. | ||||
|
|
That's pretty clumsy of us. We should know better. Do this: protected ... procedure Notification(AComponent: TComponent; Operation: TOperation);override; implementation procedure TJvTrayIcon.Notification(AComponent: TComponent; Operation: TOperation); begin inherited; if Operation = opRemove then begin if AComponent = DropDownMenu then DropDownMenu := nil; if AComponent = PopupMenu then PopupMenu = nil; if AComponent = Icons then Icons := nil; end; end; edited on: 03-01-04 10:04 |
|
|
I have proved his code and it seems that it works perfectly |
|
|
Fixed in CVS as well |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2004-03-01 02:57 | xerkan | New Issue | |
| 2004-03-01 09:33 |
|
Note Added: 0003133 | |
| 2004-03-01 10:04 |
|
Note Edited: 0003133 | |
| 2004-03-01 10:15 |
|
Status | new => feedback |
| 2004-03-01 11:37 | xerkan | Note Added: 0003141 | |
| 2004-03-01 15:31 |
|
Status | feedback => resolved |
| 2004-03-01 15:31 |
|
Resolution | open => fixed |
| 2004-03-01 15:31 |
|
Assigned To | => user72 |
| 2004-03-01 15:31 |
|
Note Added: 0003147 | |
| 2004-04-22 01:10 |
|
Status | resolved => closed |