asiChangeEnvOptionFormProperties
asiChangeEnvOptionFormProperties(
o_tool
[ ?type s_type ]
[ ?width x_width ]
[ ?columns x_columns ]
)
=> o_formObj / nil
Description
Changes the display characteristics of the Environment Options form.
Arguments
|
o_tool
|
Simulation tool object
|
|
?type s_type
|
Specifies the form type.
Valid Values:
-
'oneD: Specifies a sequential display of fields in one column. -
'twoD: Specifies a two dimensional display of fields based on row and column positions. (Use the asiAddEnvOption or asiChangeEnvOption function to specify values for the rows and columns.) -
'custom: Lets you specify the exact coordinate locations for each field. )Use the asiAddEnvOption or asiChangeEnvOption function to specify the coordinates.) -
'matrix: Specifies a matrix of equally sized fields.
Default Value: 'oneD
|
|
?width x_width
|
Width of the form, in pixels.
Default Value: The minimum default width of the form is 400 pixels. If the fields require more space than this, the form defaults to the smallest width that can accommodate the fields.
|
|
?columns x_columns
|
|
|
Number of columns. Use this argument only with matrix type forms.
Default Value: 2
|
Value Returned
|
o_formObj
|
The environment option form object
|
|
nil
|
Indicates an error.
|
Examples
Changes the width of the Environment Options form for the Spectre simulator.
asiChangeEnvOptionFormProperties( asiGetTool('Spectre)?width 450)
Related Topics
Setting up Simulator Environment Options
Return to top