Progress
Internationalization Guide


Using Multiple Layouts

A layout is a collection of widgets and associated attribute settings. These attribute settings determine how the layout appears when you run the application. Each layout has a name and, depending on the type of layout, an associated run-time expression.

At design time, a layout displays in the design window. When you switch between layouts in the design window, the AppBuilder alters the appearance of the design window to match the characteristics of the new layout.

You can also use AppBuilder to support multiple layouts in a single procedure file. The advantage of this approach is that you continue to maintain and deploy only one set of source files for an application. When you run a procedure file that contains multiple layouts, the procedure file adjusts its interface to suit the current run-time environment. You can also easily switch between layouts at run time.

For example, you might have an application that produces address labels. However, address formats vary from region to region. So, you should have a different layout for each address format.

For more information on multiple layouts, see the Progress AppBuilder Developer’s Guide .

Character-client Layouts

Often a DOS character client and the corresponding Windows client use different code pages. When you run the character client, you must ensure that the AppBuilder Character Run window uses the correct DOS code page. To ensure this, follow these steps:

  1. Create a parameter file (.pf file) for the character client. Make sure that -cpinternal and -cpstream are set to the appropriate code page for DOS.
  2. Specify the pathname of the Progress character client startup file with the PROSTARTUP environment variable in the [WinChar Startup] section of the progress.ini file or Registry.
  3. PROSTARTUP = [PATH]/(charstartup.pf) 
    

NOTE: The Character Run window does not support the display of multi-byte character sets. If your character application uses multi-byte characters and you run the application in the Character Run window, the character session is displayed incorrectly. Also, Progress error messages might be displayed incorrectly if the character session uses a multi-byte PROMSGS file.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095