VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Form On Top (Your Application)

by Mr Hanna (1 Submission)
Category: Miscellaneous
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Date Added: Wed 3rd February 2021
Rating: (6 Votes)

This ONE LINE of code will make a form stay on top of your application. This is good to use for toolbars, search forms, and so on. This WILL NOT make the form stay on top of all running applictions, only yours.

Assumes
Need Two forms, the second form being smaller then the first.
Side Effects
None that I know of

Rate Form On Top (Your Application)

'frmParent should be the main or large form
'frmToFloat is the name of the form you want
'"floating" or staying on top of your the
'Parent Form. :)
frmToFloat.Show , frmParent

Download this snippet    Add to My Saved Code

Form On Top (Your Application) Comments

No comments have been posted about Form On Top (Your Application). Why not be the first to post a comment about Form On Top (Your Application).

Post your comment

Subject:
Message:
0/1000 characters