ValueFlag: Integer;
ValueFlag: Integer;
The ValueFlag property determines value of the flag that is used to select changed values.
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 sends the 0 value, the matrix is considered unchanged and no data is 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.
The example of use is given in the description IMsProblemCalculationCallback.OnBeforeSaveData.
See also: