Sunday, March 8, 2015

VB6 : Full screen form size

I just stumble with my VB6 code. Just a simple one. If I not mistake, VB6 don't have setting for full screen form size, but there a trick :
Private Sub Form_Load()
    Me.Height = Screen.Height
    Me.Width = Screen.With
End Sub
Nice huh? Have a happy time with trick like old days before :)

No comments:

Post a Comment