Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resizing a pageframe based on tab orientation
Message
 
 
À
22/03/2005 17:42:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00998292
Message ID:
00998324
Vues:
10
Malcolm,

You can Save the pgf.PageHeight and pgf.PageWidth from the original orientation, change it then adjust the pgf.Height/Width to match the previous .PageHeight/.PageWidth.

If your've got the screen space available and can leave like 27 pixels of margin on both the left and bottom then your controls should all just fit ok when the tabs change.

It can get more complex if you have enough tabs and the difference in size between the Height and Width is great enough you may end up with more than one row of tabs which would mean more page margin buffer would need to be maintained.

>I would like to offer my users the ability to change the orientation of their pageframe tabs between horizontal and vertical settings.
>
>When tab orientation changes, it appears to me that I need to both resize my pageframe AND adjust its vertical position so that the pageframe appears to stay in the same position on the form.
>
>This looks like a pretty complicated effort. Is there a simple way to do this?
>
>In sketching out a plan, it appears that I need to be able to figure out the height of the page frame tabs in order to accomplish my goal.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform