FERME_HIS
Description
This action is called when exiting the OBJect.
OBJect type
Simple, Grid, Combined
Transaction
No
Use
It is in particular used to reposition the context when quitting the OBJect. It can also be used to close the masks in order to avoid problems with the buffer ; in this case, it is necessary to set the variable OK = 0, to avoid the supervisor closing the box (previously closed with the closure of the masks). In the Web version, it is no longer possible to programme a process that impacts the display of the browser. It is therefore necessary to prevent :
the instructions on the fields ( Affzo, Grizo, ... )
changes to the button reports
the log file displays
the print pre-views ( direct print to a printer is OK)
Example : SUBAOB management of the OBJects
To avoid buffer problems, the closure of the box then the closure of the masks should be programmed in this action.
$FERME
Gosub FERME_BOITE From =PROGOBJ
Close Local Mask : # "flush" the masks
OK = 0
Return