Can someone tell me that how can I move form if it does not have a title bar.
Thanks in advance
Printable View
Can someone tell me that how can I move form if it does not have a title bar.
Thanks in advance
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 !!!
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
Link does not work............ please tell me where to look for it
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
Thanks a lot
I don't know why the link wouldn't work, but let's try it again !!
http://forums.vb-world.net/showthrea...hlight=sizable
Well, I have no idea ?!? :confused: - that didn't work either !!!
Anyway, if you want to look at the post - search for "sizable" and goto the post called "Caption/Icon and Taskbar?". It should be close to the top of the results.
:rolleyes: :rolleyes: :rolleyes:
this thread
this thread
I think the url was too long so that is why it trunicated it and it didn't work
Scoutt