Harness, Section, and Flow Action forms
|
A Smart Label is a text label that is clickable. At runtime, if the user clicks the label text, a pop-up SmartInfo section appears.
Adding a Smart Label is similar to adding a text label, except that the Format field value is SmartLabel and accepts parameters.
You can use the Skin rule to modify the style definition for Smart Labels. See Skin form — Styles tab — Components — Smart Info. Click the Smart Label tab to style the text.
Identify or create a section that forms the contents of the pop-up window.
The section cannot contain input fields.
2. Add the Smart Label control to the Harness, Section, or Flow Action
Click the down-arrow () at the right end of the Advanced control group () and select the Smart Label control (). Drag the control. When the pointer changes shape to indicate that you can drop the layout, release the mouse button.
Click the magnifying glass icon () to open the Cell Properties panel. Complete the panel to define the label appearance and behavior. If the panel is pinned (), the wireframe presentation on the rule form changes immediately to reflect your inputs. If the panel is not pinned (), click Apply to apply your inputs.
3. Complete the Cell Properties panel — Top fields
Click the magnifying glass icon at the top right of the control to open the Cell Properties panel.
Field |
Description |
||||||||
Property | Accept the placeholder property .pyTemplateSmartLabel. (This property is unaffected at runtime.) | ||||||||
Control |
Accept the default value SmartLabel. Click the magnifying glass icon () to enter values for three parameters to this Control rule:
|
||||||||
Behavior | Optional. Leave blank if no dynamic form actions to other parts of the form are to occur based on user updates or values for this field.
To establish a dynamic form action, click the magnifying glass icon () to open the Client Event Editor in a new dialog window. Complete the Client Event Editor to select an event ( Click the help icon ( ) on the Client Event Editor for assistance. For general information on this capability, see Harness, section, and flow action forms Help — Client Event Editor. Event support is available for harnesses, sections, and flow actions that have Generate for set to |
4. Complete the Cell Properties panel — General tab
The General tab for a Smart Label control is identical to the General tab for a Label control. See Completing the Layout tab — Adding a Label — General tab.