Entry points > Module Supervisor > Standard script LECFIC 

SETBOUT

The entry point SETBOUT is used to insert additional logic in the log file display screen so that certain buttons are eventually grayed out or available.

Context and operating mode

The SETBOUT entry point is called immediately before calling the program "SETBOUT" in GESECRAN. The integers grid ETABOU is the only variable that can be modified and it contains the status selected for the buttons (1=active, 0=grayed out). The default active indexes are: GVALI, GSUPP, GEDIT, GBFIN respectively for the actions OK, Delete, Print and End.

OUVRE

The entry point OUVRE is used to define the name of a log file when opening a log.

Context and operating mode

The entry point OUVRE is called in the sub-program OUVRE_TRACE for the process LECFIC. As standard, the name of the log file contains the letter "F" followed by the value from the sequence number counter NUMIMP. To modify this name, you only need to initialize the global variable GTRACE with the new name. The log file is always created with the suffix .tra in the TRA directory of the current application.