Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Minimised form does not return to Normal when zoom
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00590704
Message ID:
00590714
Vues:
26
>I have a problem with a form. I launch my forms from a treeview control and I have a form manager that checks whether the form is loaded first. If I launch a form and then relaunch it again it refreshes the first form BUT if I minimise the form and then try to relaunch it it does not resize properly - it's as if it's minised in the middle of the screen! and the restore button does not work If I then close it it closes but mucks up my array of forms - when I try to relaunch it it says "UNKNOWN MEMBER AFORMS"
>
>Here is the code I use if the form is found by the form manager
>
>* form was found so zoom - show - refresh
>zoom window () norm
>this.aForms[lnLoop].show()
>this.aForms[lnLoop].refresh()
>
>Please let me know if the form manager code would shed more light on it - I can post that as well if neccessary...
>
>Thanks


I do something similar by changing the forms windowstate
this.aForms[lnLoop].WindowState = 1

HTH
Caroline
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform