The WINDOW type is made up of a number of sub-blocks. Some of these are optional, while others are permanent, being created automatically when the WINDOW block is created.
The permanent blocks are listed below:
DECLARATION
Declarations that are local to the window,INITIALIZATION,
VERIFICATION,
VALIDATION,
SFTKYS PROCESS,
WORK WITH EVENTS
This is the entry point for processing operations concerning the various events linked with the graphical objects in the window (including the window itself).
The sub-blocks in the WORK WITH EVENTS block will include any blocks with the name of a graphical object, and any blocks with the name of an event (sub-blocks of graphical object blocks).