1. Welcome to PHCorner Forums. Take a moment to Sign up and gain unlimited access and extra privileges that guests are not entitled to, such as:

    All that and more! Registration is quick, simple and absolutely free. Join our community today!

Tutorial Form Alway on TOP VB6

Discussion in 'Coding, Programming' started by CodeWarrior, Feb 16, 2014.

  1. This simple tutorial demonstrate how to create a form always on top to other
    simple but it is useful....

    First new project open your VB6

    Second Add two command button to the form, command1 change the caption to "TOP MOST", command2 change the caption to "UN TOP"

    Third Add Module
    On the Module Copy and paste this code

    Code:

       Sorry you need to Register / Login to see this Codes!    

    And the Form1 copy and paste this code

    Code:

       Sorry you need to Register / Login to see this Codes!    

    Finally the last press F5 to start debuging...

    Click command1 to set the form always on top
    Click command2 to set the form as normal mode

    Happy Happy Coding....

    CodeWarrior :)
     
Tags / Keywords: