| **Navigation:**  [[introduction.htm|Language Reference]] > 9 -  Window and Report Attributes > Window and Report Attributes >====== CENTERED (set centered image) ====== | [[center set centered window position .htm|{{btn_prev_n.gif|Previous page}}]][[introduction.htm|{{btn_home_n.gif|Return to chapter overview}}]][[check set on off item .htm|{{btn_next_n.gif|Next page}}]] | | || {{newc7.jpg|NewC7.jpg}} **CENTERED** {{blk2blue.jpg|blk2blue.jpg}} The **CENTERED** attribute (PROP:CENTERED) indicates an image displayed at its default size and centered in its display area: ·On an IMAGE control, the image is centered in the area specified by the AT attribute. ·On a TOOLBAR with the WALLPAPER attribute, the toolbar's background image is centered in the toolbar. ·On an APPLICATION or WINDOW with the WALLPAPER attribute, the window's background image is centered in the client area of the window. **Example:** **MDIChild WINDOW('Child One'),MDI,SYSTEM,MAX** **          MENUBAR** **           MENU('Edit'),USE(?EditMenu)** **            ITEM('Undo'),USE(?UndoText),KEY(CtrlZ),STD(STD:Undo)** **            ITEM('Cu&t'),USE(?CutText),KEY(CtrlX),STD(STD:Cut)** **            ITEM('Copy'),USE(?CopyText),KEY(CtrlC),STD(STD:Copy)** **            ITEM('Paste'),USE(?PasteText),KEY(CtrlV),STD(STD:Paste)** **           END** **          END** **          TOOLBAR,USE(?Toolbar),WALLPAPER('MyWall.GIF'),****CENTERED** **           BUTTON('Cut'),USE(?CutButton),ICON(ICON:Cut),STD(STD:Cut),FLAT** **           BUTTON('Copy'),USE(?CopyButton),ICON(ICON:Copy),STD(STD:Copy),FLAT** **           BUTTON('Paste'),USE(?PasteButton),ICON(ICON:Paste),STD(STD:Paste),FLAT** **          END** **         END** **WinOne WINDOW,AT(,,380,200),MDI,WALLPAPER('MyWall.GIF'),****CENTERED** **       END** **WinOne WINDOW,AT(,,380,200),MDI** **        IMAGE('MyWall.GIF'),AT(0,0,380,200),****CENTERED** **       END** **See Also:** [[wallpaper set background image .htm|WALLPAPER]] [[tiled set tiled image .htm|TILED]]