Thanks - I'm going to try it - I bet it was a problem.
>Hi Naomi,
>
>do you have a value != 0 in the containers anchor property?
>If so, you should store that value in a temporary variable and set the anchor to 0, then do all the positioning and then re-assign the anchor value again.
>
>>Hi everybody,
>>
>>I am having a problem with a container I add to the pageframe in run-time. I want this container to cover the page. The pageframe has 17 pages.
>>
>>I have this code in Page.Activate
>>with this.myContainer
>> store 0 to .top, .left
>> store this.parent.pagewidth -5 to .width
>> store this.parent.pageheight - 5 to .height
>>endwith
>>
>>and yet the container doesn't cover the page (it is much smaller than the page width and a bit smaller than height). What is wrong here?
>>
>>Thanks in advance.
If it's not broken, fix it until it is.
My Blog