Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What method fires on restore?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01364647
Message ID:
01364657
Vues:
16
>>
>>Hi Dmitry,
>>
>>Did you check the Resize event?
>
>I did see this method but wanted something that would fire only if form is restored. But I will try Resize.
>
>Thank you.

You can try to save current WindowState and check a new WindowState.

In other words you would need one new form's property nCurrentWindowState, which you save in the Activate event - (only once).

Then in the Resize event you will re-set this property.

If it was 1 and now something else, it means that the form was restored from minimized state.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform