Hi,

I came across Schmidt's ShowModalAndGetNewCaption code in this thread and it works! However, there seems to be a minor problem! After the user clicks the button to unload the form, the form does not unload on the first click but rather it takes to clicks on the button to close the form. Can this be fixed?

Thanks,


Nightwalker