Panel (PXPanel)

In a container with controls for a single data record, you can use a PXPanel element as a container with a caption to group controls. However we recommend that you use the PXLayoutRule component for this purpose. (See Layout Rule (PXLayoutRule) for details.)

In MYOB Advanced, a panel is used as a container to display a horizontal row of buttons with right alignment in a dialog box (see Dialog Box (PXSmartPanel) for details), as the following screenshot shows.
Figure 1. Using a panel as a button container in a dialog box


If you open the dialog box displayed in the screenshot above in the Screen Editor, you can see that the panel is located below a form container and contains two buttons.
Figure 2. Viewing the panel content in the Screen Editor


You can add the PXPanel element to a dialog box and buttons to this element, as described in To Add Another Supported Control and To Use a Button in a Dialog Box. In a panel, to arrange buttons in a horizontal row with right alignment, you can specify the SkinID property of the PXPanel element, as described in Use of the SkinID Property of Containers in the MYOB Advanced Framework Guide.