| **Navigation:**  [[introduction.htm|Language Reference]] > 8 - Controls > Control Declarations >====== PANEL (declare a panel control) ====== | [[option declare a set of radio controls .htm|{{btn_prev_n.gif|Previous page}}]][[introduction.htm|{{btn_home_n.gif|Return to chapter overview}}]][[prompt declare a prompt control .htm|{{btn_next_n.gif|Next page}}]] | | || {{newc7.jpg|NewC7.jpg}} **PANEL**, **AT( )** [,**USE( )**] [,**LAYOUT( )**][,**DISABLE**] [,**FULL**] [,**FILL( )**] [,**SCROLL**] [,**HIDE**] [,**BEVEL( )**] {{blk2blue.jpg|blk2blue.jpg}} | **PANEL** | Defines an area in the WINDOW or TOOLBAR. | | **AT** | Specifies the initial size and location of the control (PROP:AT). If omitted, default values are selected by the runtime library. | | **USE** | A field equate label to reference the control in executable code (PROP:USE). | | **LAYOUT** | Specifies the control's left-to-right or right-to-left display orientation (PROP:LAYOUT) | | **DISABLE** | Specifies the control is disabled when the WINDOW or APPLICATION is first opened (PROP:DISABLE). | | **FULL** | Specifies the control expands to occupy the entire size of the WINDOW for any missing AT attribute width or height parameter (PROP:FULL). | | **FILL** | Specifies the fill color for the control (PROP:FILL). If omitted, the panel is not filled with color. | | **SCROLL** | Specifies the control scrolls with the window (PROP:SCROLL). | | **HIDE** | Specifies the control does not appear when the WINDOW or APPLICATION is first opened (PROP:HIDE). UNHIDE must be used to display it. | | **BEVEL** | Specifies custom 3-D effect borders (PROP:BEVEL). | The **PANEL** control defines an area WINDOW or TOOLBAR (not valid in a REPORT) at the position and size specified by its AT attribute. Typically, the purpose of a PANEL is to frame the area with a custom BEVEL. This control cannot receive input focus and does not generate events. **Example:** **MDIChild WINDOW('Child One'),AT(0,0,320,200),MDI,MAX,HVSCROLL** **          PANEL,AT(10,100,20,20),USE(?P1),BEVEL(-2,2)** **         END** **See Also:** [[box declare a box control .htm|BOX]] [[group declare a group of controls .htm|GROUP]]