How to gray out the "X" main close appl icon
This is a continuation of my thread posted 2/21/08, solved by Rolaaus. Reference: Log In and Log Out Information Save.
The Log Out is now working, saving the posted date-time information only when the exit button on the main menu is selected.
On the main menu form properties, the Close Button is set to No and force the use of the Exit button on the form. I did not utilized the On-Close properties or the visible = False, because it might create more problem for me to when open/closing lots of forms and reports.
The issue and how best fix it.:
When another open_form is called, there's no "X" icon to use as exit, however, when open_report is called there are two "X" icons, one for the report and the other the application exit, when use, it by-pass my script to log the Date-Time value. How and where will I be able to gray out the application "X" button?