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:
01364658
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.

Excellent suggestion. I will try it. Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform