|
-
Apr 25th, 2001, 02:24 PM
#1
Thread Starter
Addicted Member
I am again :)
Can someone tell me that how can I move form if it does not have a title bar.
Thanks in advance
-
Apr 25th, 2001, 02:30 PM
#2
Hyperactive Member
I answered this in another post:
http://forums.vb-world.net/showthrea...hlight=sizable
The source code that I included, will allow you to create a Boarderless, Sizable, Movable Form.
Hope This Helps !!!
-
Apr 25th, 2001, 02:35 PM
#3
Code:
Dim OldX As Single
Dim OldY As Single
Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = 1 Then
OldX = X
OldY = Y
End If
End Sub
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then Move Left + (X - OldX), Top + (Y - OldY)
End Sub
-
Apr 25th, 2001, 02:35 PM
#4
Thread Starter
Addicted Member
Link does not work............ please tell me where to look for it
-
Apr 25th, 2001, 03:21 PM
#5
you can check this out, I think it will help, as I could not find that thread either.
http://www.vb-world.net/tips/tip114.html
scoutt
-
Apr 25th, 2001, 03:37 PM
#6
Thread Starter
Addicted Member
-
Apr 25th, 2001, 03:45 PM
#7
Hyperactive Member
I don't know why the link wouldn't work, but let's try it again !!
http://forums.vb-world.net/showthrea...hlight=sizable
-
Apr 25th, 2001, 03:50 PM
#8
Hyperactive Member
-
Apr 25th, 2001, 03:57 PM
#9
this thread
this thread
I think the url was too long so that is why it trunicated it and it didn't work
Scoutt
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|