Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. Resize Form!

Resize Form!

Scheduled Pinned Locked Moved Visual Basic
question
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Assaf82
    wrote on last edited by
    #1

    How can i let my form be Auto resized Thanks in advance Assaf

    D 1 Reply Last reply
    0
    • A Assaf82

      How can i let my form be Auto resized Thanks in advance Assaf

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Assaf82 wrote:

      Auto resized

      Can you explain what you're thinking that means? Auto-resized based on what? Dave Kreskowiak Microsoft MVP - Visual Basic

      A 1 Reply Last reply
      0
      • D Dave Kreskowiak

        Assaf82 wrote:

        Auto resized

        Can you explain what you're thinking that means? Auto-resized based on what? Dave Kreskowiak Microsoft MVP - Visual Basic

        A Offline
        A Offline
        Assaf82
        wrote on last edited by
        #3

        I want the form be auto resized based on the amout of data i have in this form: it can be one textbox plus button and when i add another textbox the form will take the new size Assaf

        S D 2 Replies Last reply
        0
        • A Assaf82

          I want the form be auto resized based on the amout of data i have in this form: it can be one textbox plus button and when i add another textbox the form will take the new size Assaf

          S Offline
          S Offline
          soodmonu
          wrote on last edited by
          #4

          U can resize the form dynamically through the code by setting the frmobject.size property.

          1 Reply Last reply
          0
          • A Assaf82

            I want the form be auto resized based on the amout of data i have in this form: it can be one textbox plus button and when i add another textbox the form will take the new size Assaf

            D Offline
            D Offline
            Dave Kreskowiak
            wrote on last edited by
            #5

            Well, I've never had to do it, but I don't see why you couldn't just use the information you have to track where you're going to put the next TextBox control, and its size, to calculate how big the form has to be. Then just set the form's Height and Width properties. Dave Kreskowiak Microsoft MVP - Visual Basic

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups