Recent

Author Topic: Center TForm in Lazarus  (Read 7039 times)

GilFernandes

  • Guest
Center TForm in Lazarus
« on: February 16, 2006, 01:57:22 pm »
Hello,

How can you center a TForm in Lazarus on screen?

By the way, where can I find the documentation for the class TPosition?

I am a complete beginner in Lazarus.

Thank you,

Gil

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
RE: Center TForm in Lazarus
« Reply #1 on: February 16, 2006, 02:55:52 pm »
Open the form, click on it, go to the "Object Inspector" and change the "Position" property to poScreenCenter. There are other options too.

If you can't find the object inspector it's on the menu "View"

Anonymous

  • Guest
RE: Center TForm in Lazarus
« Reply #2 on: February 16, 2006, 03:44:50 pm »
Quote from: "sekel"
Open the form, click on it, go to the "Object Inspector" and change the "Position" property to poScreenCenter. There are other options too.

If you canThank you very much,

Gil

 

TinyPortal © 2005-2018