>Hi,
>
>Can you programmatically close a modal form when a user clicks anywhere outside the form?
>
>TIA
Dmitry, in the scenario you're planning I think you can work with a modeless form that closes automatically when its Deactivate event fires (as Dragan hinted).
----------------------------------
António Tavares Lopes