Specifies whether a form displays on top of all other forms when it’s not MDI.

Property of

Form, SubForm

Description

Set a form’s topMost property to true to make the form stay in the foreground while focus transfers to other windows. If more than one open form has topMost set to true, those windows behave normally in relation to each other, while always staying on top of all other windows.

topMost has an effect only when the mdi property is false.