Progress
AppBuilder
Developer’s Guide
Layout Cases Internal Procedure
This internal procedure contains a CASE statement that has an entry for each layout in the procedure file. The CASE statement entry contains the run-time assignments for the layout. The Preprocessor reference {&LAYOUT–VARIABLE} resolves to the name of the window in the procedure file prefixed to “–layout”. Following is a sample layout case’s internal procedure. Note that the variable name {&LAYOUT–VARIABLE} is usually the same as {&WINDOW–NAME}–layout. The layout cases internal procedure is named {&LAYOUT–VARIABLE}s, which in this sample resolves to C–Win–layouts:
This sample contains CASE statement entries for two layouts, the master layout and the standard character layout. The Btn_Help button appears in the master layout but not in the standard character layout. The master layout also sets size properties to decimal character units because a graphical environment supports fractions of a character. However, in a character environment, they are set to integer character units.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |