I have a confirmation dialog in wxpython, i want the code to continue or not ( go to the next line after it) based on if the answer to the dialog is yes or no.
When i run the code it goes on without waiting for the input returned from the dialog, so how can i halt the code to wait for that input and continue!?
I know i could place the code that is below that confirmation statement into a function that checks the value of the of that dialog and runs, but i figure its just a confirmation message and i want the code to stay tidy without functions lying all around,
any help is appreciated
thanks
When i run the code it goes on without waiting for the input returned from the dialog, so how can i halt the code to wait for that input and continue!?
I know i could place the code that is below that confirmation statement into a function that checks the value of the of that dialog and runs, but i figure its just a confirmation message and i want the code to stay tidy without functions lying all around,
any help is appreciated
thanks
Comment