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
'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