Tamar,
Not to rain on your parade or anything, but I think that would fail to get you to controls on non-activated pages of pageframes or controls that were behind other controls. You'll have to interrogate the object's hierarchy and drill into the containership. I wonder how VFP does it when you select a label in the Properties sheet combobox...
Chad
>>Uses SHIFT + CONTROL on the MOUSE command:
>>
>>MOUSE .... SHIFT CONTROL
>>
>
>Good thought. I'll play with it.
>
>Tamar
_________________________________
There are 2 types of people in the world: