|
Post by Freddy on Sept 18, 2003 5:54:02 GMT -5
Forgot to log in and now I cannot make any changes - admin: please delete the post above!
Anyway, the question is:
Why is the cursor reset to crDefault when I call the Zip method?
The actualy code looks like this:
self.Enabled := False; try Screen.Cursor := crHourglass; try .. (set ZipName .. and add files to FilesList) VCLZip.Zip; //Cursor reset to crDefault here finally Screen.Cursor := crDefault; end; finally self.Enabled := True; end;
|
|
|
Post by fnordbak on Sept 18, 2003 5:57:18 GMT -5
What **** forum software is this? I'm 100% sure I did log in when I posted the second message (before I posted I updated the profile and changed the password), yet it was posted as "Guest".
|
|
|
Post by Kevin on Sept 18, 2003 6:41:57 GMT -5
Hi,
Sorry about the logging in problem. I haven't seen that one, but will keep an eye on that too. I'll switch over to another forum host if things get problematic.
OK, about the cursor: Are you using the VCLZip Pro eval, or are you using a VCLZip 2.X (Lite) version? And, which version of Delphi/BCB are you using?
Thanks,
Kevin
|
|
|
Post by fnordbak on Sept 18, 2003 8:44:02 GMT -5
Hi, Sorry about the logging in problem. I haven't seen that one, but will keep an eye on that too. I'll switch over to another forum host if things get problematic. OK, about the cursor: Are you using the VCLZip Pro eval, or are you using a VCLZip 2.X (Lite) version? And, which version of Delphi/BCB are you using? I'm using VCLZip 2.23 and Delphi 7.
|
|
|
Post by Kevin on Sept 18, 2003 8:58:09 GMT -5
Do you have any events defined that might be turning it back to the default? Also, is this the 2.23 registered version or evaluation version? Should have asked that the first time.
|
|
|
Post by fnordbak on Sept 18, 2003 10:17:11 GMT -5
Do you have any events defined that might be turning it back to the default? Nope. Registered. After some more testing I found out that setting the Enabled property of the form to False is causing this. Is there another way of preventing the user from accessing the form while the files are being zipped?
|
|
|
Post by Kevin on Sept 18, 2003 12:22:32 GMT -5
Thre is a VCLZip.busy property you can check to see if an operation is still going or you could set your own flag and check it in your button/menu events to disable them. Other than that, I'm not sure of another way off the top of my head.
|
|