PDA

View Full Version : Prevent Application.Close


Mina
11-08-2005, 02:37 PM
hi
is there a way to prevent the user from closing the application during runtime?
(in ams4 there was such an action..)

Brett
11-08-2005, 02:40 PM
Use QueryAllowProjectClose() (http://www.indigorose.com/webhelp/ams60/Program_Reference/Projects/Globals/Globals_-_Built_In.htm)

Mina
11-09-2005, 05:44 AM
missed that ... thnx
but the user can close the window using the end task function [Ctrl + Alt + Delete]

i know i saw an example of preventing the end task function, but i cant remember where,,

Mina
11-10-2005, 10:03 AM
ya thats right
www.amsuser.com