Tariq,
An object's .Top property is always relative to the parent object that contains it. So you need to sum up the .Top property for every level of containership.
>The following command works fine
>Thisform.container7.Top=Thisform.shape4.Top
>
>and this command does not work
>Thisform.container7.Top=Thisform.container1.shape4.Top
>
>How to put container7.top as the top of container1.shape4's top