Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pageframe - width and height
Message
De
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:
01450921
Vues:
61
This message has been marked as a message which has helped to the initial question of the thread.
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.
Best Regards
-Tom

Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.

Oh, and BTW: 010101100100011001010000011110000101001001101111011000110110101101110011
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform