>>
This refers to the actual object, not the object's container. Even if the object is in a container on a form, the object's Top and Left is still given from the top and left of the form.
>
>An object's Top and Left properties are relative to it's container, not necessarily the form.
>
>>I tried this on on a test form with a container, a textbox in the container and textbox on the form. I placed both textboxes with the same top and left [superimposed]. Both Top and Left props were the same.
>
>Are you sure one textbox was actually in the container?
>
>Straight from the help file:
>
>Top Property
>Specifies the distance between the top edge of a control or form and
its container object . Available at design time and run time.
>
>Jon
Oops. My mistake was relying on the positioning shown in the status bar. One textbox was in the container and the other was in the form. The properties Top and Left are relative to the parent container.
Mark McCasland
Midlothian, TX USA