Event functions must return an integer value. Event functions should return FALSE if the routine encounters a fatal error and TRUE if all was successful and they wish to continue processing the same panel. Action codes such as AC_EXIT, AC_QUIT, AC_FMSUSPEND, AC_NEXTFORM, AC_PREVFORM, and AC_WNSUSPEND can also be returned to terminate the processing of a panel. All Vermont Views systems will terminate the current process when FALSE is returned from an event function.
You should return FALSE only if you want the system to terminate because of an error. If the error is such that the system cannot do any further processing, you might also want to set the global error code VV_ERR to give your program more information about the cause of the error.