CodeGen Documentation
CodeGen Documentation

Window Expansion Tokens

 

Window expansion tokens insert information about the UI Toolkit input window that is currently being processed. They can only be used when processing a UI Toolkit input window via the -w command line option.

Window Expansion Token

Description

<WINDOW_HEIGHT>

 

Inserts the height of the input window in rows.

<WINDOW_HEIGHTPX>

 

Inserts the height of the input window in pixels. If code generation is based on an existing UI Toolkit window then the height of the source window is used to calculate the value, otherwise the number of fields in the structure is used.

 

Calculations are based on a default of 25 pixels per row, and this can be overridden using the -ch command line option.

<WINDOW_NAME>

 

If code generation is being performed based on the definition of a UI Toolkit input window in a window script file then inserts the name of the input window. Otherwise the token inserts the name of the repository structure being processed.

 

Alternates:  <window_name>, <Window_name>, <Window_Name>, <WindowName>, <windowName>

<WINDOW_WIDTH>

 

Inserts the width of the input window in screen columns.

<WINDOW_WIDTHPX>

 

Inserts the width of the input window in pixels. A default character width of 12 pixels per column is used, and this can be overridden using the -cw command line option.

 

 

 


Copyright © 2021  Synergex International, Inc.