CosmoGreco
Programmer
Dear FoxPro colleagues,
I really enjoy programming in FoxPro - since its very first release and before - the times that Dbase II and Clipper were introduced. Visual version 7.0 is great, despite having some bugs to be fixed and it’s my preferred programming tool.
I can't help though being a little bit disappointed to not be able to do Windows multi-treading in my applications.
I believe that any modern language should have the capabilities to do it.
Perhaps it is due to my lack of knowledge in this area of FoxPro that I can’t make it perform such task and maybe someone could teach me a little bit about it.
Let's say I'm processing records in a database or copying files to the disk. At the same time I populate a List Box with the files names being copied so the user can visualize what file is being processed.
Here is the problem: during the process of copying this files, FoxPro doesn't give the control back to the user until it is done with the task - e.g. let's say at the same time the List Box in being populate, I want to have the control to scroll up or down it to visualize de List Box contents or if I wish, be able to resize the form.
The solution I use in other languages, like C/C++ or C# and even in Visual Basic, is to create a Windows thread and put that process running inside it. This way I can do other things with my form while the process is being completed.
Appreciate any information on this.
Regards,
Cosmo
cosmogreco@hotmail.com
I really enjoy programming in FoxPro - since its very first release and before - the times that Dbase II and Clipper were introduced. Visual version 7.0 is great, despite having some bugs to be fixed and it’s my preferred programming tool.
I can't help though being a little bit disappointed to not be able to do Windows multi-treading in my applications.
I believe that any modern language should have the capabilities to do it.
Perhaps it is due to my lack of knowledge in this area of FoxPro that I can’t make it perform such task and maybe someone could teach me a little bit about it.
Let's say I'm processing records in a database or copying files to the disk. At the same time I populate a List Box with the files names being copied so the user can visualize what file is being processed.
Here is the problem: during the process of copying this files, FoxPro doesn't give the control back to the user until it is done with the task - e.g. let's say at the same time the List Box in being populate, I want to have the control to scroll up or down it to visualize de List Box contents or if I wish, be able to resize the form.
The solution I use in other languages, like C/C++ or C# and even in Visual Basic, is to create a Windows thread and put that process running inside it. This way I can do other things with my form while the process is being completed.
Appreciate any information on this.
Regards,
Cosmo
cosmogreco@hotmail.com