how do i center a form on the screen

Go down

how do i center a form on the screen

· #1

how do i make my form open in the middle of the screen

Re: how do i center a form on the screen

· #2

bump

Re: how do i center a form on the screen

· #3

anyone??

Re: how do i center a form on the screen

· #4

hello????

its been 9 minutes

Re: how do i center a form on the screen

· #5

wow ok. this forum is dead. nobody here knows anything

Re: how do i center a form on the screen

· #6

bump

Re: how do i center a form on the screen

· #7

Good morning. It is 3:14 a.m. on a Sunday. You posted six times in eleven minutes to a forum of people who are asleep.

The answer is one property. Select the form, and in the Object Inspector set:

pascal
Position := poScreenCenter;

There is also poMainFormCenter for dialogs that should open over your main window, and poDesigned if you want it exactly where you left it in the designer.

Re: how do i center a form on the screen

· #8

it works

sorry i said the forum was dead

Re: how do i center a form on the screen

· #9

The forum was not dead. The forum was unconscious, which at 3 a.m. is the correct state for a forum.

New rule:

  1. A bump is allowed after 24 hours, not after 4 minutes.

Forum rules 1 to 10 apply. Yes, to you.

Go up

Sign in to reply