You are absolutely correct!
I am preparing a working example right now. My previous posts were examples of technique, rather than functional code, I will be posting the implementation code in an hour. I welcome your critique of the approach, as well as a functional method. Please feel free to augment this code as appropriate to make a generic tool.
Thanks
>Yes you'd know there is a container type. But it needs pagecount. Commandgroup needs buttoncount etc.
>>Hi Celtin,
>>
>>If there were a pageframe should we should change the test for container to:
>>
>> if pemstatus(toRef,'addobject',5)
>>
>>
>>this would catch container controls
>>
>>>No I meant what if there was say a pageframe :)
>>>Cetin