In the Kill example, VxSetVar(1vtcl) attaches the list widget to the form. This makes the list available to other procedures.
The DoRefresh procedure ends the Main section of the program.