IMsProblem.ValueFlag

Syntax

ValueFlag: Integer;

Description

The ValueFlag property determines value of the flag that is used to select changed values.

Comments

The property is set to -1 by default; all changed data in the matrix are set the 1 flag, and the matrix with this flag is saved. If the ValueFlag property is set to 0, the matrix is considered unchanged and no data will be saved. If the ValueFlag property sends the value that is greater than 0, the data is saved, for which the sent flag of changed values is set. The available value of the property is in the range [0; 255].

The flag specified in the IMsProblemCalculationSettings.ValueFlag property is also taken into account on saving.

Flag value is available in the IMsProblemCalculationCallback.OnBeforeSaveData and IMsProblemCalculationCallback.OnSaveData events.

Example

The example of use is given in description of the IMsProblemCalculationCallback.OnBeforeSaveData method.

See also:

IMsProblem