Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Help] How to keep form on top of all other forms?
#1
whats the code for keeping your windows form above all other forms, including webbrowsers, software etc...
[Image: t5BWm.png]
Reply
#2
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.
Reply
#3
(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!!!
[Image: t5BWm.png]
Reply
#4
(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.
Reply
#5
very true, and well agreed on!!!
[Image: t5BWm.png]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Problem in form Chuggaism 3 2,013 11-07-2013, 06:35 PM
Last Post: AceInfinity
  [VB.NET] Animated Form Extend [SRC] Fragma 6 5,536 10-10-2013, 12:18 PM
Last Post: Saket
  Greation a promission for users in main form or setting deveco 2 1,016 11-13-2012, 01:33 PM
Last Post: TAHMINA123
  [Tutorial] Fade In / Out Form [Source] ₠o™ 4 1,392 12-09-2011, 01:21 AM
Last Post: ₠o™
  [Help]Connecting Form Windows milopeach 3 1,253 05-04-2011, 07:10 AM
Last Post: KoBE

Forum Jump:


Users browsing this thread: 1 Guest(s)