how to get the UserForm possition and size

Discussion in 'AutoCAD' started by Tom Roberts, Aug 26, 2004.

  1. Tom Roberts

    Tom Roberts Guest

    How about the LEFT & TOP properties

    --
    Regards
    Tom Roberts
    __________________________
    MechWest Design & Drafting
    Perth, Western Australia
     
    Tom Roberts, Aug 26, 2004
    #1
  2. Tom Roberts

    nalsur8 Guest

    how to get the UserForm possition and size
     
    nalsur8, Aug 26, 2004
    #2
  3. Tom Roberts

    nalsur8 Guest

    can u give me a simple code
    i 'm not clear at all
     
    nalsur8, Aug 26, 2004
    #3
  4. Tom Roberts

    Tom Roberts Guest

    Private Sub UserForm_Click()

    MsgBox "LEFT: " & Me.Left & vbCrLf _
    & "TOP: " & Me.top & vbCrLf _
    & "WIDTH: " & Me.Width & vbCrLf _
    & "HEIGHT: " & Me.Height

    End Sub

    --
    Regards
    Tom Roberts
    __________________________
    MechWest Design & Drafting
    Perth, Western Australia
     
    Tom Roberts, Aug 26, 2004
    #4
  5. Debug.Print Me.top
    Debug.Print Me.Left
    Debug.Print Me.Height
    Debug.Print Me.Width

    Regards - Nathan
     
    Nathan Taylor, Aug 26, 2004
    #5
  6. Tom Roberts

    nalsur8 Guest

    thank guys
     
    nalsur8, Aug 26, 2004
    #6
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.