Learn Visual Basic 6.0-Adjust VB form in middle of the screen-Quick and easy
In this tutorial,we are going to adjust Visual Basic form (Splash Screen)in the middle or center of the screen.
Also ,Change Border style and disable Max/Min/Close button,use of Picture Box control to make a splash screen as well.
Source Code:
Private Sub Form_Load()
Me.Left = (Screen.Width - Me.Width) / 2
Me.Top = (Screen.Height - Me.Height) / 2
End Sub
Please Subscribe to my channel. :-)
In this tutorial,we are going to adjust Visual Basic form (Splash Screen)in the middle or center of the screen.
Also ,Change Border style and disable Max/Min/Close button,use of Picture Box control to make a splash screen as well.
Source Code:
Private Sub Form_Load()
Me.Left = (Screen.Width - Me.Width) / 2
Me.Top = (Screen.Height - Me.Height) / 2
End Sub
Please Subscribe to my channel. :-)
No comments:
Post a Comment