Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>I know my Pageframe class in the Files Section here allows you to pick how many rows you want.
Hi Mike,
>And I meant to add:
>
>then allows you to specify the absolute size of the Pages.
>
>Otherwise, I think you can use the PageHeight Property to calculate how large of an area you need regardless of tab rows.
If you change the width of a pageframe and cause the rows of tabs to change [i.e. from 2 rows to 1], the PageHeight property doesn't change. In addition, the height property of the pageframe is inconsistent.
To demonstrate, try the following at design time:
Place a pageframe on a form. Set the following properties:
Height 196
Width 240
Tabstretch 0
Pagecount 5
You should now have two rows of tabs in the pageframe.
Still in design time, change the width of the pageframe to 257. There will now only be one row of tabs, and the pageframe will look shorter, but the property sheet will still show the height as 196. Throughtout this, the pageheight will remain unchanged [!].
I think this is the root of my problem [and a possible bug in VFP] - I can't rely on the height property of a pageframe if the number of rows of tabs changes.
This is important in my case, because this pageframe is a class and could contain 1, 2 or 3 rows of tabs.
Using VFP 6.0 with Service Pack 3 installed.
Best.
Matt.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement