Jan-25-2021, 12:28 PM
(This post was last modified: Jan-25-2021, 12:28 PM by deanhystad.)
Normally you enter all your information first, then perform the action that starts processing.
Interrupting the task depends on the task. If your processing can be broken into small pieces maybe you can do the processing within the context of the GUI. Another option is to perform a task in a a subprocess that is started by the GUI. The GUI would monitor the progress of the task and enable running another task when the task is complete. The GUI could provide a button for stopping the task.
What does your program do?
Interrupting the task depends on the task. If your processing can be broken into small pieces maybe you can do the processing within the context of the GUI. Another option is to perform a task in a a subprocess that is started by the GUI. The GUI would monitor the progress of the task and enable running another task when the task is complete. The GUI could provide a button for stopping the task.
What does your program do?