by Nazadus Greom (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Wed 12th April 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Move form in main area, not only in the title bar, but the entire thing.
API Declarations
Dim mousey As String
If Button = vbLeftButton Then
Me.Left = Me.Left - (mousex - X)
Me.Top = Me.Top - (mousey - Y)
End If
End Sub
Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
mousex = X
mousey = Y
End Sub
No comments have been posted about Move form in main area, not only in the title bar, but the entire thing.. Why not be the first to post a comment about Move form in main area, not only in the title bar, but the entire thing..