By some reason Execute method returns True when mentioned internal state is not equal to srNotFound. It's strange, but I can't change that because of backward compatibility. However, you can use dialog's LastResult property to differentiate between srFound, and srCancel cases.
Comments