Minor correction it's OBJTOCLIENT()
Bill
>Take a look to the ObjectToClient() VFP function. It may be what you're looking for.
>
>Vlad
>
>>Hope everyone has enjoyed / is enjoying their holday.
>>
>>The VFP 5.0 Mousemove() event passes in the x and y coordinates
>>relative to the form the control exists in.
>>
>>Does anyone know how to get the coordinates relative to the
>>container the control exists in instead? Do I have to travers
>>the object hierarchy in order to gather this info or is it more
>>readily available?
>>
>>Any help is appreciated.
>>
>>- Chris Holtz
Bill Morris