The individual forms can be contained in the top-level form, but you can get information about this with the .Top and .Left properties of the form. I am not aware of the possibility of more levels of form-contains-form containership.
The offset for the remainder of the path can be obtained with objtoclient().
>I have a container with a textbox which I may need to MOUSE CLICK AT for certain keyboard-centric users. Depending on the application, this container may be in _SCREEN, a top level form, a form within a top level form, a toolbar, or even a nested pageframe in one of the above containers.
>
>Is there a simple way for me to determine the global coordinates of my textbox so I can supply the proper row, column coordinates for the MOUSE CLICK command to click on this textbox regardless of where this textbox is placed?
>
>I'm aware of OBJTOCLIENT but this is relative to the current form which could be in another form, etc.
>
>Thank you,
>
>Malcolm
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)