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
  1. Home
  2. General Programming
  3. C#
  4. form/control sizing

form/control sizing

Scheduled Pinned Locked Moved C#
winformshelpquestion
2 Posts 2 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.
  • R Offline
    R Offline
    reshsilk
    wrote on last edited by
    #1

    hello, i am attempting to create a program using windows forms. there is a MDIParent form with several children. i have programmatically set the size of the child forms in the constructor, but for some reason they are popping up the wrong size. this is also happening with several controls that i've created. i have no idea why this keeps happening. can anyone help? thanks! rc

    L 1 Reply Last reply
    0
    • R reshsilk

      hello, i am attempting to create a program using windows forms. there is a MDIParent form with several children. i have programmatically set the size of the child forms in the constructor, but for some reason they are popping up the wrong size. this is also happening with several controls that i've created. i have no idea why this keeps happening. can anyone help? thanks! rc

      L Offline
      L Offline
      leppie
      wrote on last edited by
      #2

      IIRC you need to set the FormStartupPosition property to Manual. You need to set both the Location and Size in parent coords.**

      xacc.ide-0.1.3.14 - Now with syntax support for PowerShell
      xacc.ide-0.1.3.13 source code

      **

      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