Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pageframe - width and height
Message
 
 
To
25/02/2010 02:06:40
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01450892
Message ID:
01450945
Views:
31
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
Previous
Reply
Map
View

Click here to load this message in the networking platform