Results 1 to 9 of 9

Thread: I am again :)

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 2001
    Posts
    254

    I am again :)

    Can someone tell me that how can I move form if it does not have a title bar.

    Thanks in advance

  2. #2
    Hyperactive Member techman2553's Avatar
    Join Date
    Mar 2001
    Location
    <- To your left.
    Posts
    362
    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 !!!
    ----------

  3. #3
    Megatron
    Guest
    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

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Apr 2001
    Posts
    254
    Link does not work............ please tell me where to look for it

  5. #5
    scoutt
    Guest
    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

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Apr 2001
    Posts
    254
    Thanks a lot

  7. #7
    Hyperactive Member techman2553's Avatar
    Join Date
    Mar 2001
    Location
    <- To your left.
    Posts
    362
    I don't know why the link wouldn't work, but let's try it again !!

    http://forums.vb-world.net/showthrea...hlight=sizable
    ----------

  8. #8
    Hyperactive Member techman2553's Avatar
    Join Date
    Mar 2001
    Location
    <- To your left.
    Posts
    362
    Well, I have no idea ?!? - 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.

    ----------

  9. #9
    scoutt
    Guest
    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
  •  



Click Here to Expand Forum to Full Width