Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PageFrame looks ok in designer but expands height at run
Message
From
27/01/2006 04:59:26
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01090421
Message ID:
01090828
Views:
8
Bhavbhuti

For what it is worth. I had a similar problem with grids on a pageframe. When I click on the grid the pageframe moves up. I resolved it by the following in the init.
thisform.autocenter = .t.
Not sure if this is the same problem as you have but the pageframe would shift upward. But it would only do it if I had a pageframe with a grid on it.

Gaylen


>Hi Paul
>
>>Unfortunately, if you have .TabStretch set to 0 (Multiple Rows) you cannot force it to use any specific number of rows. If your captions are dynamic at all, then VFP may change the number of rows of tabs dynamically at runtime.
>
>Yikes, I had to put the following code in the Form.Refresh()
>
THIS.pgf.HEIGHT = THIS.HEIGHT - THIS.pgf.TOP - 23
>
>Any better option? I have tried Form.init(), form.load() and form.acvtivate() but the thing stretches again and again.
>
>Please advise.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform