Click here to Skip to main content
15,902,938 members
Articles / Programming Languages / Visual Basic 6

Very simple way to move a form holding down mouse button

Rate me:
Please Sign up or sign in to vote.
5.00/5 (4 votes)
16 Mar 2011CPOL 7.4K   1  
This method was converted to VB from C# but I believe to be much easier, althought it does not allow the F5 Key as yours does. Private panel1 As New Panel() Private canMove As Boolean Private currentPosition As Point Public Sub New() ...

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
I do not claim to be wrong! I just rarely ever write.

Comments and Discussions