Draw and Configure a String Command Control
The following is just one way to draw and configure the String command control to command from within a graphic.
- You have reviewed or completed the Preparing to Create Controls to Command Objects workflow.
- To create a new command control element on your graphic, from the File menu, select New Graphic
.
- Click Command Control
, and draw a rectangular shape on the canvas.
- The undefined element displays on the canvas.
- From the Property View (Command Control Properties), expand the Command Control properties, and from the Control Type drop-down menu, select String.
String
displays in the command control element.- In the Parameter Name field, type the data point’s Parameter name obtained from the Models and Functions Command Configuration table. This field is case-sensitive. This property will be the same Parameter property later defined in the Command and Navigation section for each control.
- For this example, type: Value.
- To configure the String Command Control properties, do the following:
- Minimum Length: Enter the minimum number of allowable characters.
- Maximum Length: Enter the maximum number of allowable characters.