STx 3.9 Documentation

Up

ModalDialog Class Members

Previous

ResetVars

Next

SetVarMode

SaveVars

Saves variable values from external sources.

Description:

Save variable values to instance member variables. Values are saved in member variables with the names <varPrefix><controlName>.

Usage:

inst SaveVars INSTANCE ; instItem ; varPrefix

Parameters:

instItem

The id of the instance.

varPrefix

The prefix to prefix control names with when saving their values to instance variables.

Result:

none

Description:

Save variable values to the table table. One entry per variable in the following format:

controlName = controlValue

Usage:

inst SaveVars TABLE ; table

Parameters:

table

The name of a shell table item where name=value entries should be saved.

Result:

none

Description:

Save variable values from a string. The values in the string must be separated by semi-colons and must be in the same order as the controls in the dialog.

Usage:

inst SaveVars STRING

Parameters:

string

A semi-colon separated list of values. Values are assigned in the same order as the controls were defined in the dialog template.

Result:

A semi-colon separated list of control values.

Description:

Save variable values in the workspace.

Usage:

inst SaveVars WORKSPACE ; id ; setRef

Parameters:

id

The id of a TABLE element in the S_TOOLS-STx S_TOOLS-STx INI file at the reference setRef.

setRef

An IRef to the position at which the TABLE element id should be saved.

Result:

none

© 2009 The Austrian Academy of Sciences Acoustics Research Institute