Tools Links Login

Form On Top (Your Application)

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.

Original Author: Mr Hanna

Assumptions

Need Two forms, the second form being smaller then the first.

Side Effects

None that I know of

Code

'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

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 84 times

Categories

Visual Basic 6

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.