Rocco Labellarte
 · Never Give Up, Never Surrender

Conditional action when user presses cancel when choosing a local media file to upload

When I click on a button to open the system dialog to choose an image from my computer, if I press Cancel on the popup dialog can I conditionally catch the action (of cancelling) by the user, and , if so, where would I put the condition/catch statement?

2 replies