Results 1 to 5 of 5

Thread: Simple VB problem

  1. #1

    Thread Starter
    Fanatic Member VBKNIGHT's Avatar
    Join Date
    Oct 2000
    Location
    Port25
    Posts
    619

    I would like to change my form scale height.how would i refresh it to show the new height?


    If a post has helped you then Please Rate it!

  2. #2
    PowerPoster Lethal's Avatar
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    2,496
    couldn't you put it in the form load event?

  3. #3

    Thread Starter
    Fanatic Member VBKNIGHT's Avatar
    Join Date
    Oct 2000
    Location
    Port25
    Posts
    619
    what i meant is to resize the form when i click a button it will resize to a new height in runtime. the form is already loaded.

    If a post has helped you then Please Rate it!

  4. #4
    PowerPoster Lethal's Avatar
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    2,496

    How bout this

    Code:
    Private Sub Command1_Click()
    Form1.Height = 2000
    End Sub
    Using this method, the form refreshes automatically

  5. #5

    Thread Starter
    Fanatic Member VBKNIGHT's Avatar
    Join Date
    Oct 2000
    Location
    Port25
    Posts
    619
    that does it thanks...guys

    If a post has helped you then Please Rate it!

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