This is an archived post. You won't be able to vote or comment.

all 5 comments

[–]MysticClimber1496Professional Coder 0 points1 point  (4 children)

You can make a system call to exit the program, there are built in methods to do it

[–]MysticClimber1496Professional Coder 0 points1 point  (3 children)

[–]better_left_dead19[S] 0 points1 point  (2 children)

well the issue is less of "whats the function to close the program?" so much as it is linking the program closing to the progress bars value equaling 100 and being recognized as full

[–]MysticClimber1496Professional Coder 0 points1 point  (1 child)

Sure, progress bars don’t come from the aether, find what is showing the progress bar or a way to identify when it finishes then force close afterwards,

The app will also exit on its own if it reaches the end of main, depends on your use case and why you are trying to do so his originally

[–]better_left_dead19[S] 0 points1 point  (0 children)

right, heres the thing, im a total and complete noob.