Hi,
Please advise howto (in a form) disable a button while a scheduled is running. Once the scheduled task is running, a grid will be refreshed in the form and also the button will be enabled again.
Idea is that the form is not frozen, but the button can only be pressed again when the scheduled task was done.
Thanks!
S
Form: disable button while scheduled task is running
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.
Re: Form: disable button while scheduled task is running
[Topic was moved by moderator to PowerShell GUIs forum]
Brittney
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: Form: disable button while scheduled task is running
The following links will explain how to use button controls.
https://info.sapien.com/index.php/guis/ ... on-control
https://docs.microsoft.com/en-us/dotnet ... esktop-6.0
Right clicking on any control in the toolbox will give you the link to the MS documentation for the control.
https://info.sapien.com/index.php/guis/ ... on-control
https://docs.microsoft.com/en-us/dotnet ... esktop-6.0
Right clicking on any control in the toolbox will give you the link to the MS documentation for the control.