Results 1 to 4 of 4

Thread: Expanding elements with form growth...

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 2007
    Posts
    27

    Expanding elements with form growth...

    Hello, I have a program that uses a web browser, and sum buttons to the right of it, and I was wondering if it is possible to have the browser extend as the form extends, and have the buttons stay to the right hugging the edge. Thanks!

  2. #2
    Frenzied Member MaximilianMayrhofer's Avatar
    Join Date
    Aug 2007
    Location
    IM IN YR LOOP
    Posts
    2,001

    Re: Expanding elements with form growth...

    I'm pretty sure if you dock your webbrowsercontrol within the form it will expand as required. And the locations of the buttons will have to be set via a mathematical expression during the forms change size event.

  3. #3
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    26,423

    Re: Expanding elements with form growth...

    what you are looking for is
    vb Code:
    1. .anchor

  4. #4
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    Re: Expanding elements with form growth...

    The TableLayoutPanel is a useful control for proper alignment and positioning of controls.
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

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