View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004667 | JEDI VCL | 00 JVCL Components | public | 2009-01-22 19:21 | 2009-04-06 20:27 |
Reporter | ricardona | Assigned To | jfudickar | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | Daily / GIT | ||||
Target Version | Fixed in Version | ||||
Summary | 0004667: Execution of TJvThread with dialog form is always 500ms | ||||
Description | When TJvThread is set to use dialog form every execution is 500ms, that is internal timer time for dialog form. | ||||
Additional Information | Fix: procedure TJvThread.CloseThreadDialogForm; begin if Assigned(ThreadDialogForm) then begin ThreadDialogForm.Hide; ThreadDialogForm.CloseThreadForm; end; end; | ||||
Tags | No tags attached. | ||||
|
Which revision did you use. The current code looks like the following. procedure TJvThread.CloseThreadDialogForm; begin if Assigned(ThreadDialogForm) then begin while Assigned(ThreadDialogForm) AND ThreadDialogForm.Visible do begin //ThreadDialogForm.Hide; ThreadDialogForm.CloseThreadForm; Application.HandleMessage; end; end; end; I can't see any differences when i uncomment your suggestion. Greetings Jens |
|
Im' using SVN version. Process run fine, but when i enable show dialog i get 500 milli seconds of extra time for every execution, that is because the form only is closed in the timer not when ThreadDialogForm.CloseThreadForm is called. I hope be more clear. BTW, i did some testing and use AsynCalls for jvThread discarded because of major differences between libraries Thanks Ricardo Cardona |
|
This problem is more noticeable when using JvOdacSmartQuery |
|
HEy, i'm using the JvOdacSmartQuery and i can't see it directly. Could you create a small sample using for example a select from dual which demonstrates the problem. With kind regards Jens |
2009-03-28 15:31
|
jvThreadExitTime.zip (4,348 bytes) |
|
Uploaded sample. First try jvThread svn version; click run button connect to DB and look time label, i get 500 ms. Now try jvThread with my changes and look results. Thanks Ricardo |
|
Thanks for the sample. I see now your point of view. I will test it in the next days then commit it to the repository. Thanks for your patience. Kind regards Jens |
|
I've changed your solution a little bit and commited it to the repository. Please have a look for it and give me a short feedback. Kind regards Jens |
|
Now is working right! Thanks for your support and time. Kind regards Ricardo |
|
Hi Ricardo, thanks for your support and time also. It was your sample and your code which show's me the right way. Kind regards Jens |
Date Modified | Username | Field | Change |
---|---|---|---|
2009-01-22 19:21 | ricardona | New Issue | |
2009-01-24 03:18 | jfudickar | Note Added: 0015259 | |
2009-01-24 17:54 | ricardona | Note Added: 0015262 | |
2009-02-02 01:26 | obones | Status | new => feedback |
2009-03-26 05:43 | ricardona | Note Added: 0015352 | |
2009-03-26 20:39 | jfudickar | Note Added: 0015357 | |
2009-03-28 15:31 | ricardona | File Added: jvThreadExitTime.zip | |
2009-03-28 15:35 | ricardona | Note Added: 0015358 | |
2009-03-31 00:20 | jfudickar | Note Added: 0015364 | |
2009-04-01 23:49 | jfudickar | Note Added: 0015376 | |
2009-04-06 05:08 | ricardona | Note Added: 0015388 | |
2009-04-06 20:27 | jfudickar | Note Added: 0015393 | |
2009-04-06 20:27 | jfudickar | Status | feedback => resolved |
2009-04-06 20:27 | jfudickar | Resolution | open => fixed |
2009-04-06 20:27 | jfudickar | Assigned To | => jfudickar |