User Tools

Site Tools


panel_declare_a_panel_control_.htm
Navigation:  Language Reference > 8 - Controls > Control Declarations >====== PANEL (declare a panel control) ====== Previous pageReturn to chapter overviewNext page

NewC7.jpg

PANEL, AT( ) [,USE( )] [,LAYOUT( )][,DISABLE] [,FULL] [,FILL( )] [,SCROLL] [,HIDE] [,BEVEL( )]

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

GROUP

panel_declare_a_panel_control_.htm.txt · Last modified: 2021/04/15 15:57 (external edit)