"correctionMode"

This attribute defines how a wrong respective an intermediate value shall be corrected.

Synopsis

shape.correctionMode(string mode);

Parameter

Parameter Description
shape Name of the object.
mode

Correction mode. Possible modes:

  • CorrectToPreviousValue - the last valid value is used

  • CorrectToNearestValue - the nearest valid value is used

Description

This attribute defines how a wrong respective an intermediate value shall be corrected.

Example

main()
{
  DateTimeEdit_ewo1.correctionMode("CorrectToNearestValue");
}

Assignment

DateTimeEdit Widget