Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What method fires on restore?
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01364647
Message ID:
01364658
Views:
14
>>>
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform