• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 263
  • Last Modified:

How can I move my forms to the centre of the screen

hi everyone:

i have been using VB 6.0 for a very long time. i am used to see my forms as I am adding components to them in the middle of the screen. i am trying to use now VS 2005 (.NET) but i don't seems to be able to move my forms to the middle of the screen while i am designing them. forms always start on the top left. my question is not how to move the forms to a specific location at run time but at design time

thank you all

rene
0
chrome2000
Asked:
chrome2000
  • 5
  • 4
  • 3
1 Solution
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
How are you moving your form (at design-time) to the middle of the screen in VB6?...
0
 
sk33v3Commented:
Over in the properties window Go to the StartPosition property and change it to center Screen.
0
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
I believe you have a missing word or two in your problem description...making it ambiguous...

Can you please clarify whether you want the form in the center of the screen at DESIGN-TIME or at RUN-TIME?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
chrome2000Author Commented:
sk33v3:  if i do that it will show on the middle of the screen at run-time.
idle mind: i just drag and drop.

i am used to look in the middle of my screen when i am adding components to my form such as text boxes and so on.
0
 
chrome2000Author Commented:
at design time
0
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
I have VB6 on my system and I can't "just drag and drop" a form around the designer in the IDE...

If I have my ToolBox on the left side of the screen and can make it wider...thus moving the form closer to the middle.

?
0
 
chrome2000Author Commented:
is there a way to upload a picture into this site
0
 
sk33v3Commented:
No, you can do eactly what he describes in VB6. I am not sure how to set it up in VB.net though. When you look at the form designer in VB6 make sure it is not maximized you will see the form window is allowed to be moved around.
0
 
sk33v3Commented:
Idle Basically what he wants to do is undock the form designer and code windows. I could not find a way within Visual Studio to do so.
0
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
Lol...ok...gotcha...

You're not moving the Form itself, but the window that holds the form...

In VB.Net, click on Tools --> Options.
In the Environment --> General area (which it opens to by default) under the Settings area, change the RadioButton selection from "Tabbed documents" to "MDI environment".

You have to close and reopen visual studio though....
0
 
chrome2000Author Commented:
holy cow !

is there a need for all these changes ?

i don't think so

thank you both for your time

0
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
I don't know...I've become quite used to...and like the Tabbed environment.

It's just different...give it some time...

Microsoft is trying to move away from the MDI model over to the "Tabbed" model.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 5
  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now