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.
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 | ||||
| DisplayedInfo | Any enumerated_types_used_in_pricing_form_objects | pmdText | Determines what text is displayed on the panel | ||||
| DisplayedPrice | Any enumerated_types_used_in_pricing_form_objects | pmpPrice | Determines what price is displayed on the panel. Ignored when DisplayedInfopmdText | ||||
| DisplayedFormula | any CFL string expression | (blank) | Changed the caption to the value of this formula. Ignored except when DisplayedInfopmdFormula | ||||
| HintDisplayedInfo | Any enumerated_types_used_in_pricing_form_objects | pmdText | Determines the text displayed in the mouse-over hint. | ||||
| HintDisplayedPrice | Any enumerated_types_used_in_pricing_form_objects | pmpPrice | Determines what price is displayed in the mouse-over hint. Ignored when HintDisplayedInfopmdText | ||||
| ModifierCode | Any Modifier | (none) | Specifies the modifier used by certain pmd Types in the DisplayedInfo and HintDisplayedInfo | ||||
| VariableName | Any Variable | (none) | Specifies the variable used by certain pmd Types in the DisplayedInfo and HintDisplayedInfo | ||||
| VisibilityFormula | any 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
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
Source
Contributor: Cyrious Software
Date: 8/1/2009
Version: Control 4.4