Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pageframe - width and height
Message
 
 
À
25/02/2010 02:06:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01450892
Message ID:
01450945
Vues:
32
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform