General information
Category:
Forms & Form designer
Environment versions
Network:
Windows 2003 Server
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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only