Results 1 to 5 of 5

Thread: Stupid, simple question

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    Albany, OR, United States
    Posts
    10
    This will probably sound dumb to most of you, but I'm having problems keeping my forms from resizing. I thought it was simply a property of the from that I need to set, but I can't seem to find it. Tried messing around in the resize event, but it looked pretty nasty. Anyway, all I ask is that when/if you answer this question, that you don't make fun of me.... :-)

  2. #2
    Frenzied Member
    Join Date
    Mar 2000
    Posts
    1,089
    It is a Property, Change the BorderStyle to Fixed Single

  3. #3
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    I can't figure out the tabstrip control, so I can't blame you.

    Look at the border style property, set it to fixed single.

  4. #4

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    Albany, OR, United States
    Posts
    10
    .....I'm an idiot

    Thank you both!

  5. #5
    Guest
    You could also keep it set at property 2 so that is resizes and use:

    Code:
    Private Sub Form_Load()
    Label1.caption = Me.Height
    Label2.caption = Me.Width
    End Sub
    
    Private Sub Form_Resize()
    On Error Resume Next
    Me.Height = Label1.caption
    Me.Width = Label2.caption
    End Sub


    [Edited by Matthew Gates on 07-18-2000 at 03:59 PM]

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