Hi Martina,
I think Doug is up to something. May be I need to re-set Anchor property to 0, adjust position/dimension, then restore Anchor.
I'll try this approach instead.
BTW, am I correct we need to use PageWidth/PageHeight? Yesterday out of desperation I tried switching to pageframe.width / height without any luck.
BTW, I don't know 'matroshka (x) HTML hack.
>Hi Naomi,
>
>1) What value has property Anchor of container?
>2) 17 pages? What value has property TabStretch (pageframe)?
>3) What value has property BorderWisth (pageframe)?
>4) Did you known matroska (x)HTML hack?
>
>I have not problem with adding objects to page in runtime (CVP - all ActiveX are added at first activating page)
>
>MartinaJ
>
>>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