General information
Category:
Coding, syntax & commands
>>I have 'ON SHUTDOWN DO ShutDown_Proc' in my main. I later do an 'ON SHUTDOWN DO oapp.Shutdown_Proc()' in my toplevel form object. What is good coding practice for the ON SHUTDOWN. Should it be in a .prg?
>>
>>Brenda
>What you've done is fine.
Guess I should have given more info. I was on the phone with my client and she started the software and got into what I call "ERROR MESSAGE HELL" (she was copying some data files from CD and did not remove the read-only attribute so she got the can not update cursor error). The error messages went on forever so she Alt+Ctrl+del, selected the task, and end task. She then tells me that she got a "shutdown_proc.prg missing" error and that she has gotten it before. I do not know if it was the first error message but definately she was still in the main (not the toplevel form SHUTDOWN). Anyway, I tried to reproduce the error but evertime I try to end task it works fine. The ShutDown_proc is a procedure in my main.
What do you think? Could some other first error during the end task get the program confused and not be able to find the ShutDown_proc?
Brenda
Previous
Next
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