Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resizing Pageframe
Message
From
22/02/2000 10:36:22
 
 
To
22/02/2000 10:21:38
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00335363
Message ID:
00335383
Views:
16
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform