The DesignerPanel object (TDesignerPanel) is a component used in the pricing form designer. It is a “container” component located on the Group Boxes tab in designer.

www.ecyrious.comcontrolimagestdesignerpanel.jpg

Similar Components

The panel is the basis for all aggregate containers. The TRzPanel Pricing Form Object is the basic panel used in the pricing form designer.

Key Properties

This object adds several new properties not found in TRzPanel Pricing Form Object.

~ Property~ Values~ Default~ Description/Notes
DisplayedInfoAny enumerated_types_used_in_pricing_form_objectspmdTextDetermines what text is displayed on the panel
DisplayedPriceAny enumerated_types_used_in_pricing_form_objectspmpPriceDetermines what price is displayed on the panel. Ignored when DisplayedInfopmdText
DisplayedFormulaany CFL string expression(blank)Changed the caption to the value of this formula. Ignored except when DisplayedInfopmdFormula
HintDisplayedInfoAny enumerated_types_used_in_pricing_form_objectspmdTextDetermines the text displayed in the mouse-over hint.
HintDisplayedPriceAny enumerated_types_used_in_pricing_form_objectspmpPriceDetermines what price is displayed in the mouse-over hint. Ignored when HintDisplayedInfopmdText
ModifierCodeAny Modifier(none)Specifies the modifier used by certain pmd Types in the DisplayedInfo and HintDisplayedInfo
VariableNameAny Variable(none)Specifies the variable used by certain pmd Types in the DisplayedInfo and HintDisplayedInfo
VisibilityFormulaany CFL boolean expression(blank)Hides the panel if the formula returns False (zero), otherwise the panel is visible.

Other Properties

Most objects share common properties that behave similarly. See Common Pricing Form Object Properties for more information.

There are no other properties introduced in TDesignerPanel that are not found in TRzPanel.

Notes about Usage

Examples

Displaying the SubTotal Price as a Panel Caption

Situation: You want to display the total price (including child items) as the caption for the form.

Properties to Set

To move the displayed information to the top-left of the panel, you'll need to set some of the "Advanced" properties by clicking on the "Advanced" button and reselecting the panel:

Hiding a Panel Based on a Formula

Situation: You have a number of components that you want to hide or show in a particular situation (when the Complexity is “High”). Rather than set the visibility formula on each component, put all the components on a TDesignerPanel and use the panels visibility formula. (You can even hide the panel borders so it doesn't look like a panel.)

Properties to Set

To hide the borders, you'll need to set some of the "Advanced" properties by clicking on the "Advanced" button and reselecting the panel:

Source

Contributor: Cyrious Software

Date: 8/1/2009

Version: Control 4.4