Previous Topic: Specify Initial Application from the Logo PanelNext Topic: Sample Programs


Log Off with PF3

You can use the TPXDEMO application to allow users to log off from the Menu by pressing PF3. Define a session using TPXDEMO with a session key of PF3. This session could be named LOGOFF and appear on the menu or could be made invisible.

Use this ACL/E program as a signon program for the LOGOFF session:

      OPTION TERM,OFF              HIDE FROM USER
      SIGNOFF                      PERFORM /F
      WINP                         GET PANEL
      KEY 'END'                    END TPXDEMO
      ENTER