| **Navigation:**  [[introduction.htm|Language Reference]] > 9 -  Window and Report Attributes > Window and Report Attributes >====== HIDE (set control hidden) ====== | [[grid set list grid line display color .htm|{{btn_prev_n.gif|Previous page}}]][[introduction.htm|{{btn_home_n.gif|Return to chapter overview}}]][[hlp set on line help identifier .htm|{{btn_next_n.gif|Next page}}]] | | || {{newc7.jpg|NewC7.jpg}} **HIDE** {{blk2blue.jpg|blk2blue.jpg}} The **HIDE** attribute (PROP:HIDE) specifies the control does not appear when the WINDOW or APPLICATION is first opened. UNHIDE must be used to display it. In a REPORT, the control does not print unless the UNHIDE statement is used to allow it to print. PROP:HIDE may be used with the TARGET built-in variable to hide/unhide the current target window. Care must be taken when assigning PROP:HIDE at runtime. If it is assigned prior to opening the desired window, it may inadvertently affect another window TARGET. ---- **SYSTEM{PROP:Hide}** explained on Clarion Hub June 8, 2023 in topic "Prevent App from Grabbing Focus": After setting SYSTEM{PROP:Hide}=TRUE an OPEN(Window) will have its controls configured to work in hidden mode. The Window will not display nor take focus from the current foreground window. In Event Open Widow setting Window{PROP:Hide}=FALSE can't change their behavior. ---- **Example:** Window WINDOW,PRE(Scr) ENTRY(@N3),USE(Ctl:Code),HIDE !Hide by default ENTRY(@S30),USE(Ctl:Name) BUTTON('OK'),USE(?OkButton),KEY(EnterKey) BUTTON('Cancel'),USE(?CanxButton),KEY(EscKey) END CODE OPEN(Window) ?Ctl:Name{PROP:HIDE} = TRUE !Hide Name control SYSTEM{PROP:Hide}=TRUE !Opened windows will not be visible, nor take focus OPEN(Window) SYSTEM{PROP:Hide}=FALSE !Let future Open() Windows work normally **See Also:** [[hide blank a control .htm|HIDE (blank a control)]]