More mdi fun
"Brian" <[email protected]> Thu, 13 Feb 2003 08:33:22 -0800 (PST)
| Newsgroups | gmane.comp.lang.delphi.kylix |
|---|---|
| Message-ID | <[email protected]> |
ok ;) This should be simple, but it's resisting me I have two forms I want to resize and reposition http://kychat.sourceforge.net/before_tile.png // this works fine (once you adjust for any button bars etc childform.height := mainform.clientheight div 2; childform.width := mainform.clientheight div 2; //but this... childform.left := 1; childform.top := 1; this _should_ move the form to the top left corner no? what happens is that it gives me the right height/width, but for some reason the controls inside the form are now off center. http://kychat.sourceforge.net/after_tile.png but when I click on it, things reseat. http://kychat.sourceforge.net/before_tile_and_click.png yet, the form's position hasn't budged. Any clues? ------------------------ 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/