Visual Studio 2008
Posted on 2010-09-20
I would liike a form to always be on top. In VB 6.0 that was accomplished by using modal.
I am told to use Showdialog in .Net When I use ShowDialog, as soon as any command button is pressed on the form it closes. It does nevertheless stay on top with showDialog until closing.
Also If I use TopMost = true, the form remains on top, but the user can still select a command button on the form underneath the top most form. I would like to accomplish the form always being on top and the command buttons on the form below the top most to be visible but unresponsive by the end user. This was done by opening a form in modal in VB 6.0 How can this be accomplished in Visual Studio 2008?