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.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]