Hi Kevin,
>Do you know how I can detect when the user has clicked anywhere else outside this form, so that I can
>close the form?
You might want to add a flag to check for the debugger before you release the form in the Deactivate event. Otherwise it might be difficult to debug this form as it disappears when you start debugging.
--
Christof