Controlling Form Tab Access from a Program

An application program can control the form tab focus (which form tab is active), change the text on the form tab header for different program conditions, and protect (disable) form tabs.

To set program control of form tabs

  1. Open the Procedure Division (ProgramCode PD) using the Lawson Editor or another editor:

    lx $LAWDIR/productline/systemcodesrc/ProgramCodePD

  2. Make changes based on your purpose and the information in the following sections: