asiChangeAnalysisField
asiChangeAnalysisField(o_analysis[?names_fieldName] [?promptt_prompt] [?types_type] [?choicesl_choices] [?itemsPerRowx_itemsPerRow] [?valueg_value] [?ming_min] [?maxg_max] [?allowExprs_allowExpr] [?rowx_row] [?columnx_column] [?widthx_width] [?coordinatesl_coordinates] [?displayOrderx_displayOrder] [?labelTextt_labelText] [?privates_private] [?displays_display] [?editables_editable] [?appCBs_appCB] [?callbackt_callback] [?formApplyCBs_formApplyCB] [?changeCBst_changeCB] [?doubleClickCBst_doubleClickCB] [?numRowsx_numRows] [?multipleSelects_multipleSelect] [?invalidateFuncs_invalidateFunc] ) =>o_envVar/nil
Description
Changes a field in an existing analysis.
Arguments
|
Optional argument that specifies the prompt (on the UI form) for the given option. |
|
|
Valid Values:
See the asiAddSimOption function for an example that shows how to use the separator argument.
|
|
|
List of choices if s_type is cyclic, radio, radioToggle or listBox, or the list of switches if s_type is toggle. |
|
|
Numbers of choices per row for Default Value: Total number of choices specified in l_choices |
|
|
Specifies the minimum value of an |
|
|
Specifies the maximum value of an |
|
|
Specifies whether g_value can contain expressions.
Valid Values: |
|
|
Column in the form where the field appears. The fields are created according to their required widths and are not meant to align with fields in other rows of the form. |
|
|
Specifies the width of the field in relation to other fields on the form. Numbers that you enter for this argument are relative values whose values are determined by the amount of space available. For example, assume there are three fields for a row that is 400 pixels wide. If the first two fields have an x_width of 1, and the last field has an x_width of 2, then the widths for the fields are as follows: 100, 100, and 200 pixels. |
|
|
List specifying the coordinates for the field on the UI form. (The format is the same as for the corresponding hi field.) |
|
|
Position (from the top) of the option in the form. Use x_displayOrder to reposition your options in an inherited form. By default, the options appear in the order defined; therefore, inherited options appear first. |
|
|
Optional argument that declares an option as private, which means the option is not visible to the user. Private options are not part of the UI and their values are not saved when a user saves the environment. You might use this argument for values that are constant for all users of the software.
Valid Values:
|
|
|
Specifies an expression that determines whether the field is to be displayed on the UI form. This expression is evaluated when the form is first displayed and whenever a callback is executed on any field in the form. |
|
|
Specifies an expression that determines whether the field is to be editable on the UI form. This expression is evaluated when the form is first displayed and whenever a callback is executed on any field in the form. |
|
|
Specifies a callback function that is executed when the value of the option is changed. |
|
|
Specifies a callback function that is executed when a field is changed on the form while the form is displayed. (You can use this function to do error checking on the value entered by the designer.) |
|
|
Specifies a callback function that is executed when the designer clicks on Apply or OK on the form containing the associated field. |
|
|
Specifies a callback function that is executed when the value of a |
|
|
Specifies a callback function that is executed when a designer double clicks on a |
|
|
Boolean flag that specifies whether multiple items can be selected from the
Valid Values: |
|
|
Specifies a function that is executed when the value of the option is changed. This function invalidates a step in the flowchart. |
|
Value Returned
|
A new environment variable object representing the analysis field. |
|
Examples
The following example changes the from prompt to start:
analysis = asiGetAnalysis(tool ’tran) asiChangeAnalysisField(analysis ?name ’from
?prompt "start"
)
Related Topics
Return to top