Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form misbehaves
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Form misbehaves
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01450911
Message ID:
01450911
Views:
114
Hi everybody,

I have a form with a pageframe with 17 pages. Two of the pages have their content added in run-time. There is something weird going on with them :(

I was able to setup initial width and height of the containers to cover the page (setting this in run-time in code seems to be ignored). So, I open the form, click on these two pages, resize the form and the containers resize OK when I switch between pages.

Now, I close the form and don't close the application. I re-open the form and it opens with the last size remembered. But now the containers on these two pages don't occupy the whole page - they look like their initial size. If I close the application and re-start it, then the form starts with its original size and I can resize it and everything works correctly.

It seems like the form remembers its size only through the life of the application.

Also the code I have in page.Activate doesn't seem to work.

Do you have any ideas of how to fix it?

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Next
Reply
Map
View

Click here to load this message in the networking platform