Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form misbehaves
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Form misbehaves
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01450911
Message ID:
01450911
Vues:
115
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform