Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How does one prevent a form from being deactivated?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00834295
Message ID:
00834959
Vues:
25
>Hi Alan,
>
>Obviously, it can be easily worked around with adding THISFORM.HIDE() into Form.QueryUnload() event method.
>That also should be called if one wants to release the form with the Form.Release() method.

Yes. I just wanted to point out to anyone reading this that it does need to be worked around. It's still a neat little trick. There is that little flash as Craig pointed out, but on my system it's only barely noticeable. My home pc is faster than this one, and I'm going to check it out there. It should be even less noticeable.

Alan

>
>The sample only demonstrates the principle of Modal/Modeless switching on the fly.
>
>
>>One unfortunate problem with the code that needs to be worked around: Run the code, click the 'modal' button once, and then close the form using the 'X' close control.
>>
>>Alan
>>
>>>>>Can you set the WindowType to Modal?
>>>>>
>>>>>Wan
>>>>
>>>>Not on the fly.
>>>
>>>Actually you can do it on the fly.
>>>
>>>FAQ#7921 "How can I make my form Modal/Modeless on the fly."
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform