Form stuck while running a script
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- AmministrazioneDCSAS
- Posts: 3
- Last visit: Wed Feb 21, 2024 6:52 am
Form stuck while running a script
Hi everyone, I have a problem with a form, I created a button that installs a software that lasts 5 minutes, during this time, the form remains blocked, has it happened to someone?
Re: Form stuck while running a script
This is normal Windows behavior. Blocking calls will always freeze the form until the call returns. The way out is to use a job for the blocking call and monitor the job for completion.
Look in the Info Center for how to use the JobTracker custom controlset to implement a job that keeps the form alive while the job executes.
Look in the Info Center for how to use the JobTracker custom controlset to implement a job that keeps the form alive while the job executes.