I am working on a project at the moment that has one main form and a number of sub forms. Only the main form is displayed in the title bar. I want to know if there is anyway that I could set the focus so that when one of the sub forms is shown, it is always on top of the main form. That is if someone clicks on the main form while a sub form is open, the sub form will not dissappear behind the main form.

Any suggestions would be greatly appreciated

Thanks