When I browse for files, but decide to cancel, there seems to be no way to tell that I have canceled rather than click OK. I know this, because I disable the select button as soon as the file dialog start event is triggered. Then it appears that, on cancel or escape from the dialog, the file dialog complete event is not triggered. If it was, I would then be able to see that no files were queued, and then re-enable the select files button. Alas, this does not work.
Update 10Jul2014: I just confirmed my earlier inference that the onFileDialogComplete event is not triggered when the file selection dialog is canceled. I guess I have to leave the button enabled.
Last edit: Ben Michaud 2014-07-10
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I browse for files, but decide to cancel, there seems to be no way to tell that I have canceled rather than click OK. I know this, because I disable the select button as soon as the file dialog start event is triggered. Then it appears that, on cancel or escape from the dialog, the file dialog complete event is not triggered. If it was, I would then be able to see that no files were queued, and then re-enable the select files button. Alas, this does not work.
Update 10Jul2014: I just confirmed my earlier inference that the onFileDialogComplete event is not triggered when the file selection dialog is canceled. I guess I have to leave the button enabled.
Last edit: Ben Michaud 2014-07-10