And didn't we already tell you that you need to set the focus on the dialog box? Why don't you do this?

You continue to not heed our advice and complain that the code fragmetns we present don't work. This makes it tiring to help you.

So, read the KiXtart Manual, the FAQ Forum regarding error checking and test your code with proper error checks.
_________________________
There are two types of vessels, submarines and targets.