Do you just mean center it in relation to its parent container? If so,
you treat it just like any other component as its really just a
subclassed Panel with some extra stuff added on.

win.x = (win.parent.width - win.width) / 2;
win.y = (win.parent.height - win.height) / 2;

HTH,
Ben



--- In flexcoders@yahoogroups.com, "Bit" <[EMAIL PROTECTED]> wrote:
>
> Hi people!!
> how to do centralize an MDIWindow?
> thx
>


Reply via email to