Support Forums

Full Version: [Help] How to keep form on top of all other forms?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
whats the code for keeping your windows form above all other forms, including webbrowsers, software etc...
Put this inside of form_load as a code:
Code:
Me.TopMost = True

I'd recommend putting that as an if statement for a checkbox so that users have the option of keeping it on top or not. It can be annoying if you don't want that option.
(10-02-2010, 10:50 PM)Infinity Wrote: [ -> ]Put this inside of form_load as a code:
Code:
Me.TopMost = True

I'd recommend putting that as an if statement for a checkbox so that users have the option of keeping it on top or not. It can be annoying if you don't want that option.

Oh thanks so much... I have a few other questions to post now... Big Grin lol thanks again1!!!
(10-02-2010, 10:53 PM)L3g1tWa5te Wrote: [ -> ]Oh thanks so much... I have a few other questions to post now... Big Grin lol thanks again1!!!

No problem Smile if they are related to this you can just post them in here lol. But adding that option as an optional choice, is a good idea, unless you are just playing around with the code for personal education.

I know even after I set programs to stay on top, sometimes I don't want that option and it gets annoying pretty quick, having to move the window around to view the parts of your screen that you want to see.
very true, and well agreed on!!!