VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



a 1 line code to keep a form on top within your ap

by Casey (2 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Date Added: Wed 3rd February 2021
Rating: (26 Votes)

The purpose of this extremely small code is to take a form within your application and keep it on top of all the forms within your application. (Modal Forms) Note however that when you use this code, it will make all other forms in your application inaccessible until that form is closed. This is great for times when you have a form like starting a new game, or a form that tells about your program that you want to stay on top and "stop" your program until it is closed.

Assumes
2 forms, 1 command button or menu link

Rate a 1 line code to keep a form on top within your ap

form2.show 1 'place this in the button or link

Download this snippet    Add to My Saved Code

a 1 line code to keep a form on top within your ap Comments

No comments have been posted about a 1 line code to keep a form on top within your ap. Why not be the first to post a comment about a 1 line code to keep a form on top within your ap.

Post your comment

Subject:
Message:
0/1000 characters