Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Main App Close Button
Message
De
04/09/2007 04:08:53
 
 
À
04/09/2007 02:31:23
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01252078
Message ID:
01252087
Vues:
30
I dont see that behaviour at all. I can open a modal form , I can interact with it, resize it, move it around, click buttons on it, use the pageframe, etc, and the main application close button is still working perfectly. I can click it and close the entire app even while the modal form is open on the screen.

If the form displays a messagebox(), however, then the main app's close button is disabled. It does not re-enable until I close the model form. You cannot click on it because it is not enabled, hence closing the modal form does not immediately fire the main application window close button.

>If a form is modal you can not interact with anything other then that form. If I have a modal form open and press apps closebutton, the app will close immediately after the form is closed.
>
>Agnes
>
>>After the messagebox closes the main application close button is still not working and stays not working until I close my form. My form is modal. Is this the cause?
>>
>>>Hi Jos,
>>>
>>>if the messagebox is active the app will normaly not close. The messagebox is modal.
>>>
>>>Agnes
>>>>Hi
>>>>
>>>>What causes the main application close button to sometimes not be available, not function? If I open a form the main application close button sometimes stops working. What are the conditions that cause this and is there a way to always have the main application close button function?
>>>>
>>>>It seems to be related to when I pop up a messagebox because immediately upon a message box being called by the form the close button on the main application deactivates.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform