Is it possible to disable the Windows X (exit)? If so how - Could not find anything in the forums.
See attached image. Thanks
Professional Software Development Tools
Is it possible to disable the Windows X (exit)? If so how - Could not find anything in the forums.
See attached image. Thanks
look in the help file under "Hidden Global Functions"
for pages
for dialogsCode:function QueryAllowProjectClose() result= Dialog.Message("Application Exit", "Are you sure that you want to quit?", MB_YESNO, MB_ICONEXCLAMATION, MB_DEFBUTTON1); --if they choose yes if result == IDYES then --allow the app to close return true; else --cancel close return false; end end
Code:function QueryAllowDialogClose(strDialogName) result= Dialog.Message("Close Dialog", "Are you sure that you want to close the dialog?", MB_YESNO, MB_ICONEXCLAMATION, MB_DEFBUTTON1); --if they choose yes if result == IDYES then --allow the dialog to close return true; else --cancel close return false; end end
Open your eyes to Narcissism, Don't let her destroy your life!!
Thanks RizlaUK - That worked!