| **Navigation:**  [[introduction.htm|Language Reference]] > 9 -  Window and Report Attributes > Window and Report Attributes >====== MSG (set status bar message) ====== | [[modal set system modal window .htm|{{btn_prev_n.gif|Previous page}}]][[introduction.htm|{{btn_home_n.gif|Return to chapter overview}}]][[nobar set no highlight bar .htm|{{btn_next_n.gif|Next page}}]] | | || {{newc7.jpg|NewC7.jpg}} **MSG(**// text //**)** {{blk2blue.jpg|blk2blue.jpg}} | **MSG** | Specifies //text// to display in the status bar. | | //text// | A string constant containing the message to display in the status bar. | The **MSG** attribute (PROP:MSG) specifies //text// to display in the first zone of the status bar. On a control declaration, MSG specifies the //text// to display when the control has focus. If the control has non-persistent focus (has the SKIP attribute, or is placed in a TOOLBAR or a window with the TOOLBOX attribute) the //text// displays whenever the mouse cursor is positioned over the control. On an APPLICATION or WINDOW structure, MSG specifies //text// to display in the first zone of the status bar when the control with focus has no MSG attribute of its own. **Example:** **MainWin APPLICATION('My Application'),SYSTEM,MAX,ICON('MyIcon.ICO'),STATUS ** **         MENUBAR** **          MENU('&File'),USE(?FileMenu)** **           ITEM('&Open...'),USE(?OpenFile),****MSG****('Open a file')** **           ITEM('&Close'),USE(?CloseFile),DISABLE,****MSG****('Close the open file')** **           ITEM(),SEPARATOR** **           ITEM('E&xit'),USE(?MainExit),****MSG****('Exit the program')** **          END** **         END** **        END** **WinOne WINDOW,AT(0,0,160,400),MSG('Enter Data')     !Default MSG to use** **        COMBO(@S8),AT(120,120,20,20),USE(?C1),FROM(Q1:F2),MSG('Enter or Select')** **        TEXT,AT(20,0,40,40),USE(E2)                 !Default MSG used** **        ENTRY(@S8),AT(100,200,20,20),USE(E2)        !Default MSG used** **        CHECK('&A'),AT(0,120,20,20),USE(?C7),MSG('On or Off')** **        OPTION('Option 1'),USE(OptVar),MSG('Pick One or Two')** **         RADIO('Radio 1'),AT(120,0,20,20),USE(?R1)** **         RADIO('Radio 2'),AT(140,0,20,20),USE(?R2)** **        END** **       END** **See Also:** [[status set status bar .htm|STATUS]]