MDI Client Position

Please discuss general Delphi programming topics here.

MDI Client Position

Postby werdnareid » August 6th, 2003, 6:14 pm

Hi group :- How could i center my MDIChild forms when they are called.

TIA:
werdnareid
Active Member
Active Member
 
Posts: 22
Joined: August 6th, 2003, 5:35 pm

Tpostion sets the postion of any of the forms

Postby werdnareid » August 11th, 2003, 8:28 am

i found the property that determins where your form is -- its the (TPosition ).

Unit

Forms or QForms

Delphi syntax:

type TPosition = (poDesigned, poDefault, poDefaultPosOnly, poDefaultSizeOnly, poScreenCenter, poDesktopCenter, poMainFormCenter, poOwnerFormCenter);

C++ syntax:

enum TPosition { poDesigned, poDefault, poDefaultPosOnly, poDefaultSizeOnly, poScreenCenter, poDesktopCenter, poMainFormCenter, poOwnerFormCenter };

Description

TPosition consists of the following values:
werdnareid
Active Member
Active Member
 
Posts: 22
Joined: August 6th, 2003, 5:35 pm


Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 3 guests

cron