$ 0 0 Thanks .I tried this code and it did not work… The forms are not arranged according the mdiLayout enumeration.