Neil,
You're right. That was my intention. I take it that you want to add objects to a container in the background and then add the container to the Page object. I agree. However, in this context, its a pity that the 'Tabs' property can only be set at the PageFrame level and not at the Page level. On reflection, as suggested by you, I probably would have gone a different UI route as well, but was merely applying Franco's existing UI to obtain a solution.
Cheers
Sanjay
>>Sanjay,
>>
>>I was assuming that when the PageCount increased you would do something like:-
>>
>>ThisForm.pgfMain.Page1.AddObject(...)
>>
>>I prefer to take a different UI route and provide some means (listbox, treeview, radio buttons) to display the available pages in conjunction with a tab-less pageframe that contains all the options (or demand load).
>>
>>Neil
>
>Neil,
>Yes again you're right :) Something like this :
>
>page.UIEnable
>if lEnable and type('this.pgContent')='U'
>this.Addobject(...
>...
>endif
>
>Cetin
Sanjay Kapoor
Relatively speaking is a conversation with Einstein