Right justified field labels

If the application forms define right-justified labels and use a proportional font in GUI mode, the text will no longer be aligned as on a dumb terminal. Form layout must be reviewed to replace any right-justified text with LABEL form items. Migration to GUI mode can also be easier achieved with the traditional mode, to leave TUI-style forms untouched.

Example of right-justified static form labels

DATABASE FORMONLY
SCREEN
{
     Customer id: [f01       ]
            Name: [f02                          ]
         Zipcode: [f03     ]
         Address: [f04                                   ]
}
END
ATTRIBUTES
EDIT f01 = FORMONLY.cust_id;
EDIT f02 = FORMONLY.cust_name;
EDIT f03 = FORMONLY.cust_zipcode;
EDIT f04 = FORMONLY.cust_address;
END

Example of form label items with localized text

LAYOUT
GRID
{
     [l01         |f01       ]
     [l02         |f02                          ]
     [l03         |f03     ]
     [l04         |f04                                   ]
}
END
END
ATTRIBUTES
LABEL l01: TEXT=%"customer.id";
LABEL l02: TEXT=%"customer.name";
LABEL l03: TEXT=%"customer.zipcode";
LABEL l04: TEXT=%"customer.address";
EDIT f01 = FORMONLY.cust_id;
EDIT f02 = FORMONLY.cust_name;
EDIT f03 = FORMONLY.cust_zipcode;
EDIT f04 = FORMONLY.cust_address;
END