Re: More mdi fun

"Brian" <[email protected]> Sat, 15 Feb 2003 10:25:42 -0800 (PST)
Newsgroups gmane.comp.lang.delphi.kylix
Message-ID <[email protected]>
k, I must be on glue...

so how do I actually MOVE a window within the main form?

I can get the sizes correct, but I want to arrange the way I want...

the left & top properties dont' seem to actually do anything?

What am I missing here?

Cheers


>
>
>
>
> If you know the different between TForm.Height/Width and
> TForm.ClientHeight/Width, it's not weird actually. Form's Height is
> ClientHeight + form's bottom frame thickness + form's title bar
> height. And form's Width is ClientWidth + form's left frame thickness
> + form's right frame thickness.
>
> By assuming the left, right, and bottom form's frame thickness are
> equal, you'll find out the height of form's title bar. Then, you
> should modify the iwidth and iheight variables calculation to get the
> form's position correct. In your case, you should know that form's
> frame thickness is 1 and title bar height is 22. :)
>
> -Bee-
>
>
> ----- Original Message -----
> From: Brian
> To: [email protected]
> Sent: Friday, 14 February 2003 01:55
> Subject: Re: [KylixGroup] More mdi fun
>
> after some digging, it appears that left is always reverting back to 2
> and
> top is reverting to 23. in the child windows that is
>
> Very weird.
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.445 / Virus Database: 250 - Release Date: 21-01-2003
>
>
>
>
>
>
> -------------------------------------------------------
> Forum / mailing list for Borland Kylix programmers
> Our web page:&nbsp; http://groups.yahoo.com/group/kylixgroup
> To join the forum: [email protected]
> To unsubscribe:&nbsp; [email protected]
> To post your messages:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> [email protected]
> To contact the moderator:&nbsp; [email protected]
> -------------------------------------------------------
>
>
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>
>
>
>


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/FpY02D/vN2EAA/xGHJAA/i7folB/TM
---------------------------------------------------------------------~->

-------------------------------------------------------
Forum / mailing list for Borland Kylix programmers
Our web page:  http://groups.yahoo.com/group/kylixgroup
To join the forum: [email protected]
To unsubscribe:  [email protected]
To post your messages:       [email protected]
To contact the moderator:  [email protected]
------------------------------------------------------- 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/