Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form misbehaves
Message
 
 
To
25/02/2010 08:37:20
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01450911
Message ID:
01451049
Views:
47
>Hi Naomi.
>
>>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.
>
>Make sure you set Anchor to 0 before changing the size and position, then restore it.
>
>Doug

Thanks a lot, it worked like a charm.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform