Control form
|
The settings in this tab appear when the Auto-Generated? checkbox on the HTML tab is selected. The Control tab offers an array of settings that govern how the control appears to the user and the actions the user can perform. The settings in this tab enable you to format editable and read-only values and pick from a set of pre-configured actions.
When you save a section or harness that contains the control, the system generates the control's HTML text. As you design the interface, you can use the control's parameter dialog (which emulates the Control tab layout) to change many of these settings without altering the underlying rule. When customized, the system generates the HTML according to the original settings and the ones you edited in the dialog.
As of V6.1 sp2, Process Commander provides a set of standard auto-generated control rules. See Standard auto-generated control rules for V6.1 SP2. Where applicable, use these controls in new development. Auto-generated controls offer these benefits:
As a best practice, copy or customize (see below) the standard auto-generated controls. These rules and their settings are optimized for most interfaces. If necessary, advanced users can create controls as non-auto-generated rules.
Customizing a control in a section
In most cases, use a standard control rule in your applications. You can configure a copy so that it represents how it will be presented in most sections or harnesses. For special cases, you can customize a control within the context of the section that contains it. These edits do not update the underlying rule.
Do the following to customize an auto-generated control in a section:
When you create a custom control in a section and you update a setting using the Parameters dialog, you cannot update the same setting in the rule. For example, if the Expand Options setting in the rule is Collapsed With Icon
and you have customized the control's setting to Expanded With Icon
, updating the rule setting to No Scrollbar
does not change the custom setting. However, an update to a setting in a control rule that has not been customized updates the control in the section. For instance, the No Scrollbar
update in the rule is reflected in the section's control if the Expand Options setting had not been customized.
You must manually update customized control settings if you wish to synchronize your rule edits. If you wish to revert to the underlying rule settings, delete the customized control and replace it with the rule.
These following selections determine which settings are available in the Basics, Options, Format, and Behaviors areas.
The default settings in standard auto-generated controls represent how a control will likely be used in your interface design. If you copy the control and edit it, as a best practice, do not change the Control Type, Control Modes, and UI Element settings.
Field |
Description |
||||||
Control Type | The selection represents a property type category only and does not restrict the settings to that type only.
|
||||||
Control Modes | Select one of the following:
This option does not appear if the Control Type is |
Field |
Description |
||||||||||||
UI Element |
xxxxxxxxxxxx
|
||||||||||||
Value |
xxxxxxxxxxxxxxxxxxxx
|
Field |
Description |
||||||||||||
Specify Size |
|
||||||||||||
Min/Max Chars |
Appears if the UI Element is Optional. Enter a value that determines the minimum and maximum number of characters that can be entered in the text field. You can designate either value as unlimited by leaving it blank. |
||||||||||||
Width |
Appears if the UI Element is Enter a positive integer that is either a pixel count or a percentage. Define the unit of measure by the selecting in the pull-down list to the right of this field. Select |
||||||||||||
Height |
Appears if the UI Element is Enter a positive integer that is a pixel count or a percentage. Define the unit of measure by the selecting in the pull-down list to the right of this field. Select |
||||||||||||
Expand Options |
Appears if the UI Element is Select one of the following:
|
||||||||||||
Label |
Enter brief text that is to appear on the button. As a best practice, start the text with a verb. Consider the collection of buttons that appear at runtime collectively; provide button each with a clear and distinctive label. For example, Cancel order. To allow users to execute the button activity using a shortcut key combination, include an
ampersand character (&) immediately before a letter in
the caption text. At runtime, users can press the
If you use
shortcut keys in your application, be careful to choose
distinct letters for each button; you can't have xxxxxxxxxxxxxxxStill true in Control tab?(If this text is to be localized, click the pencil icon () to review or create the field value rule supporting localization.) Proj-212 Optionally, if this button is within a cell of a section that includes parameter declarations on the Parameters tab, you can enter the notation param.NAME here, to use a parameter value for the button caption, where NAME identifies a string parameter. Make sure that the NAME parameter is declared on the Parameters tab, and that your application provides a non-blank value for the parameter value in all possible situations where the section appears. See Section rules — Completing the Parameter tab. Proj-1424 When you plan to localize the application that includes this rule, so the application can support users in various languages or locales, choose the text carefully and limit text length to 64 characters. A field value rule with pyButtonLabel as the second key part and this text as the final key part is needed for each locale. You can define a shortcut key in each language by including an ampersand character before a letter in the Localized Label field. When practical, choose a caption already included in a language pack, to simplify later localization. See About the Localization wizard. |
||||||||||||
Tooltip |
Optional. Enter a sentence or phrase identifying to users the purpose and function of the button. As a best practice, start the ToolTip text for an input field with a verb; for example, Cancel the order. If this text is to be localized. enter no more than 64 characters. Click the pencil icon to review or create the field value rule supporting localization. As a best practice, start the ToolTip text for an input field with a verb; for example, "Click to cancel the order." If this text is to be localized. enter no more than 64 characters. Click the pencil icon to review or create the field value rule supporting localization. |
||||||||||||
Image |
Select one of the following: xxxxxxxxxxxxxx
|
The options in this section are only for Editable/Read-Only
control mode.
Field |
Description |
||||||||||||
Type |
xxxxxxxxxxxxxxxxxxxx
|
||||||||||||
Obfuscated |
Appears if the Type is Select |
||||||||||||
Decimal Places |
Appears if the Type is xxxxxxxxxxxxxxxxx |
||||||||||||
Scale |
Appears if the Type is xxxxxxxxxxxxx |
||||||||||||
Negative Format |
Appears if the Type is xxxxxxxxxxxx |
||||||||||||
Symbol |
Appears if the Type is xxxxxxxxxxxx |
||||||||||||
Separators |
Appears if the Type is xxxxxxxxxxx |
||||||||||||
Auto Prepend
Auto Append |
Appears if the Type is xxxxxxxxx |
||||||||||||
DateTime Format |
Appears if the Type is xxxxxxxxxxxxx |
||||||||||||
True Label
False Label |
Appear if the Type is xxxxxxxxxx |
Three factors determine control behavior:
The Behaviors area contains a grid layout in the Editable and Read-Only columns. To define the control's behavior, click the add row icon . This opens the Behavior dialog, which contains an area for each of the above factors. The dialog contains the following fields and options ( the system filters the options based upon the selected UI Element and Event):
Field |
Description |
||||||||||||||||||||||||||||
Behavior | Select to indicate what the user must do to invoke the action. | ||||||||||||||||||||||||||||
Event |
|
||||||||||||||||||||||||||||
Action |
Click Select... to display an action menu organized into the following categories: |
||||||||||||||||||||||||||||
Process Work
|
xxxxxxxxxxxxxxxxxxxx
|
||||||||||||||||||||||||||||
Get Work |
xxxxxxxxxxxxxxxxxxxx
|
||||||||||||||||||||||||||||
Handle List Items |
xxxxxxxxxxxxxxxxxxxx
|
||||||||||||||||||||||||||||
Display |
xxxxxxxxxxxxxxxxxxxx
|
||||||||||||||||||||||||||||
Launch |
xxxxxxxxxxxxxxxxxxxx
|
||||||||||||||||||||||||||||
Advanced |
xxxxxxxxxxxxxxxxxxxx
|
||||||||||||||||||||||||||||
Conditions |
xxxxxxxxxxxxxxxxxxxx |
||||||||||||||||||||||||||||
When |
xxxxxxxxxxxxxxxxxxxx
|