I used to use a custom on shutdown procedure, like:
on shutdown do igoodbye
*----------
Procedure igoodbye
local lcwindow
lcwindow=wontop()
if not empty(wontop())
if messagebox("There is User Dialog >"+lcwindow +"< still open?!"+chr(13)+;
"Do you want to close it?",4,lcMsgBox)=6
release window (lcwindow)
else
RETURN
endif
endif
....
clear windows
Clear events
.....
quit
*-----------
>I would like to know how to prevent my user from closing the project using the "Close (X)" at the top rightmost side of VFP screen. I am wondering if this can be disabled.
>
>Thanks a lot,
>
>Nerissa
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only