>>>>"NODEFAULT in the QueryUnload event procedure prevents the form from unloading".
>>>
>>>I want to avoid the form from losing focus, not from unloading. NoDefault turns out to be fruitless.
>>>
>>>Hilmar.
>>
>>Sorry, I guess I should read message before replying. :)
>
>It happens to me, now and then < g > - but back to the original question, I assume it can't be done, right?
>
>Hilmar.
Try to set some flag and put nodefault in Activate() method instead.
If it's not broken, fix it until it is.
My Blog