Hi Nevan You can use the TControl.Width and TControl.Height properties to create a rectangle bounding the whole form.
Todd. ----- Original Message ----- From: "Neven MacEwan" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Tuesday, September 09, 2003 1:36 PM Subject: [DUG]: ClientRect > Hi > > Whats the best way to find the ClientRect offset of a form? > I'm trying to position a chlid component within a form but am > starting with the screen pos, which I convert, but i think I also > have to take into account the Forms non-client area (ie borders) > > TIA > > Regards Neven > N.K. MacEwan B.E. E&E > Ph 649 621 0001 > Fax 649 621 0400 > [EMAIL PROTECTED] > > -------------------------------------------------------------------------- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
