View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003338 | JEDI VCL | 00 JVCL Components | public | 2005-12-03 01:46 | 2006-05-09 04:50 |
Reporter | SVitaliy | Assigned To | jfudickar | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.00 | ||||
Target Version | Fixed in Version | 3.30 | |||
Summary | 0003338: Method CloseThreadDialogForm of JvThreadAnimateDialog didn’t work. | ||||
Description | In code that I upload method CloseThreadDialogForm, doesn’t work. I think that usage of this method is right. | ||||
Tags | No tags attached. | ||||
2005-12-03 01:46
|
Backup.pas (2,920 bytes) |
|
Why did you want to call the CloseThreadDialogForm?? Normaly this is not necessary. Please give me some more infos. And if possible also attach the dfm-file. Please also have a look at the examples\jvthread sample application. Greetings Jens |
2005-12-11 01:49
|
Backup.dfm (4,513 bytes) |
|
I am aware that automatically hide of JvThreadAnimateDialog occur after thread stop. I hide my own form when event “Thread Begin†occurs. And I show my own form when event “Thread Finish†occurs. When event “Thread Finish†occurs the JvThreadAnimateDialog is still visible. I think that calling of CloseThreadDialogForm can hide it forcibly. |
|
Please try to "Synchronize" the CloseThreadDialogForm call. This could be a problem of thread handling. Greetings Jens |
|
I try synchronizing via next code: procedure TBackup_Form.JvThreadFinish(Sender: TObject); begin Synchronize(HideDlg); If FNoErr then InfoMessage('') else ErrorMessage(FErr); Show; end; procedure TBackup_Form.HideDlg(Sender: TObject); begin JvThreadAnimateDialog.CloseThreadDialogForm end; But this has no effect. Will very good, if you will offer something best. Cheers Vitaliy |
|
Any news here? If possible, please provide the complete zipped sources of a sample application. |
2006-04-09 02:33
|
TJvThreadAnimateDialog.rar (3,382 bytes) |
|
I upload complete sample in TJvThreadAnimateDialog.rar. Remark. Database path, login, password must be configured. |
|
Sorry, could you modify the sample a little bit. Please use english labels and give me a small help. I didn't have the uib components, so what is the usage of your sample. |
|
UIB components is part of JVCL!? Some help and english labels, Ok may be tomorrow. |
2006-04-12 01:34
|
TJvThreadAnimateDialog_1.rar (2,398 bytes) |
|
Algorithm Main Program 1 Start thread ------------- Thread Event On Start: Hide MainForm Event On Finish: Execution result message (could not be part of Execute Method) ------------- Error: Event on Finish occur but Thread Status still visible. |
|
Hi, thanks for the update sample. Now i understand your problem :-) I've removed the procedure, because it could not work, it's impossible if the form is modal. But the good news is : i've changed the code and now the form is automaticly hidden before you show the messagebox. I've uploaded my changes to svn. Greetings Jens |
|
What is svn? |
|
It's the followup of cvs. Have a look at http://homepages.borland.com/jedi/wiki/index.php?title=Repository |
|
Did you have tested it ? |
|
I am sorry; I forgot to write an answer. Current version of ThreadDialog work properly. Thank You. |
Date Modified | Username | Field | Change |
---|---|---|---|
2005-12-03 01:46 | SVitaliy | New Issue | |
2005-12-03 01:46 | SVitaliy | File Added: Backup.pas | |
2005-12-06 09:36 | jfudickar | Status | new => assigned |
2005-12-06 09:36 | jfudickar | Assigned To | => jfudickar |
2005-12-10 12:34 | jfudickar | Note Added: 0008201 | |
2005-12-10 12:34 | jfudickar | Status | assigned => feedback |
2005-12-11 01:49 | SVitaliy | File Added: Backup.dfm | |
2005-12-11 02:07 | SVitaliy | Note Added: 0008203 | |
2005-12-11 12:25 | jfudickar | Note Added: 0008205 | |
2005-12-12 06:28 | SVitaliy | Note Added: 0008206 | |
2006-04-04 05:58 | obones | Note Added: 0008879 | |
2006-04-09 02:33 | SVitaliy | File Added: TJvThreadAnimateDialog.rar | |
2006-04-09 02:35 | SVitaliy | Note Added: 0009044 | |
2006-04-09 02:37 | SVitaliy | Note Edited: 0009044 | |
2006-04-09 05:51 | jfudickar | Note Added: 0009048 | |
2006-04-09 15:51 | SVitaliy | Note Added: 0009058 | |
2006-04-12 01:08 | obones | Status | feedback => acknowledged |
2006-04-12 01:34 | SVitaliy | File Added: TJvThreadAnimateDialog_1.rar | |
2006-04-12 01:38 | SVitaliy | Note Added: 0009071 | |
2006-04-19 13:23 | jfudickar | Note Added: 0009144 | |
2006-04-19 13:23 | jfudickar | Status | acknowledged => feedback |
2006-04-23 03:00 | SVitaliy | Note Added: 0009170 | |
2006-04-23 10:14 | jfudickar | Note Added: 0009173 | |
2006-05-08 12:37 | jfudickar | Note Added: 0009259 | |
2006-05-09 04:24 | SVitaliy | Note Added: 0009263 | |
2006-05-09 04:49 | jfudickar | Status | feedback => resolved |
2006-05-09 04:49 | jfudickar | Resolution | open => fixed |