If I take the panel which doesn't go to the right place and delete it and then create again or copy it to the clipboard and then paste back on the form creating a new panel this new one works fine. it takes the place it is supposed to. The child order for both panels is the same. Can this happen because i was creating some panels by copying/pasting from another forms? But then i was always changing their childorder numbers.