View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001491 | JEDI VCL | 00 JVCL Components | public | 2004-03-18 04:42 | 2004-10-05 11:27 |
Reporter | Dierk | Assigned To | user72 | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | |||||
Target Version | Fixed in Version | 3.00 RC 1 | |||
Summary | 0001491: TJvChangeNotify crashes on deactivating in onChange event | ||||
Description | procedure TMainform.JvChangeNotify1Notifications0Change(Sender: TObject); begin JvChangeNotify1.active:=false; //<--This crashes the application ..... do something timeintensive and knowing for shure that same event can´t occure in this moment JvChangeNotify1.active:=true; end; Greetings Dierk | ||||
Tags | No tags attached. | ||||
related to | 0002052 | resolved | TJvChangeNotify.Active := False blocks System |
|
No wonder either. You are effectively killing the thread from an event called by the thread. Not so good :) I think the attached unit resolves the issue, though, but I don't know how stable it is. Please try it out and let me know if it works. |
2004-03-18 06:14
|
JvChangeNotify.zip (3,664 bytes) |
|
Peter, now it works stable..... |
|
Updated in CVS |
|
Bug is reintroduced in Rev. 1.29 |
|
I've added a FreeOnTerminate:boolean to the component. Basically, if you want to change Active in the OnChangeNotify event, set it to true. |
|
Since there is no reply, I am assuming this now works |
Date Modified | Username | Field | Change |
---|---|---|---|
2004-03-18 04:42 | Dierk | New Issue | |
2004-03-18 06:13 |
|
Note Added: 0003376 | |
2004-03-18 06:13 |
|
Assigned To | => user72 |
2004-03-18 06:13 |
|
Status | new => assigned |
2004-03-18 06:13 |
|
Description Updated | |
2004-03-18 06:14 |
|
File Added: JvChangeNotify.zip | |
2004-03-18 07:01 | Dierk | Note Added: 0003378 | |
2004-03-18 14:21 |
|
Status | assigned => resolved |
2004-03-18 14:21 |
|
Resolution | open => fixed |
2004-03-18 14:21 |
|
Note Added: 0003383 | |
2004-09-06 09:51 | remkobonte | Status | resolved => feedback |
2004-09-06 09:51 | remkobonte | Resolution | fixed => reopened |
2004-09-06 09:51 | remkobonte | Note Added: 0005197 | |
2004-09-07 11:32 |
|
Assigned To | user72 => |
2004-09-25 01:34 |
|
Note Added: 0005260 | |
2004-09-25 02:16 |
|
Relationship added | related to 0002052 |
2004-10-05 11:27 |
|
Status | feedback => resolved |
2004-10-05 11:27 |
|
Resolution | reopened => fixed |
2004-10-05 11:27 |
|
Assigned To | => user72 |
2004-10-05 11:27 |
|
Note Added: 0005316 |