| **Navigation:**  [[introduction.htm|Language Reference]] > 9 -  Window and Report Attributes > Window and Report Attributes >====== LAYOUT (set window orientation) ====== | [[landscape set page orientation .htm|{{btn_prev_n.gif|Previous page}}]][[introduction.htm|{{btn_home_n.gif|Return to chapter overview}}]][[left right above below set tab position .htm|{{btn_next_n.gif|Next page}}]] | | || {{newc7.jpg|NewC7.jpg}} **LAYOUT ( **//style //**)** {{blk2blue.jpg|blk2blue.jpg}} | //style// | A byte value that designates whether the orientation of window controls and field sequence is set to Default, Left to Right, or Right to Left. | The **LAYOUT** attribute (PROP:LAYOUT) on a WINDOW or APPLICATION indicates the orientation of window controls and field sequence. A style of (1) essentially "flips" the window controls' display as a mirror image of the layout specified in the Window Formatter. Default field navigation moves from right to left. A style of (0) maintains the original layout specified in the Window Formatter. Default field navigation moves from left to right. Setting the LAYOUT in the Application Frame will cascade its setting to all child window that have the default setting active (which is no LAYOUT attribute placed on the window). {{notebox.jpg|NoteBox.jpg}} The justification set in the format string for a list box column will always override the mirroring specified by the LAYOUT attribute, (i.e., "left" means "left" rather than "near" and "right" means "right"rather than "far"). Column order, origin coordinates and direction always follow the LAYOUT setting. **Example:** AppFrame APPLICATION('Example Application - BROWSES (ABC Templates)'),|         AT(,,548,344),FONT('MS Sans Serif',8,,), LAYOUT(1) , |         CENTER,ICON('LOG1.ICO'),STATUS(-1,80,120,45),SYSTEM,MAX,RESIZE !Sets all windows in the application to Right-to-Left style