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]