Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PageFrame does not save height
Message
From
02/06/2005 23:17:58
 
 
To
01/06/2005 17:30:49
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Network:
Windows 2000 Pro
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01018222
Message ID:
01019668
Views:
32
Hi Chris, I got the solution, but not the source of the problem. The problem is only at design time, I'm not even running the form. I open the form, modify the height of the pageframe, and close the form saving changes. I the open the SCX file as a table, and the height is OK. I then open the form in the form designer, and the height of the pageframe has changed.

I think is a bug of VFP, and I'm trying to reproduce it. The pageframe has TabStretch set to Multiple Lines, and that is causing the problem; if I change to single row, VFP does not change the size of the pageFrame.

Right now the solution has been to make the pageFrame smaller than I want to, and VFP resizes it to my desired height. When I have time I want to try to reporoduce the problem to spot the bug (if there's one).

Thanks for your reply,
Javier.

>>Hi,
>>
>>I have just upgraded a VFP7 application to VFP9. The interface transition has gone OK, but for a pageframe that does not save the height I'm trying to set.
>>
>>When I open the form in VFP9, the pageframe has a differente height (about 30 pixels more) than if I open the form in VFP7. I open the form, resize the pageFrame, close the form, reopen it and it has not saved the size of the pageFrame I gave it.
>>I have changed Themes ON and OFF, I have opened the form as a table and packed it, and stil it does not work.
>>The application have about 120 forms, of which 30 of them have pageframes based on the same class, and all of them work OK, but this one.
>
>Have you got code in the form/pageframe/page that is setting the height of the pageframe? Is your change simply resetting to default height, and the default height not what you expect? When you open the vcx as a table and browse the properties field for the pageframe, what is the height entry there?
Previous
Reply
Map
View

Click here to load this message in the networking platform