"minMaxNumeric"
If you activate minMaxNumeric, you can write an arbitrary numeric value (int, float) in a text field and the "min"-"max" check is carried out when a command script is executed or when focus of a text field is lost.
Synopsis
shape.minMaxNumeric(bool);
Parameter
Description
If you activate minMaxNumeric, you can write an arbitrary numeric value (int, float) in a text field and the "min"-"max" check is carried out when a command script is executed or when focus of a text field is lost. If the value is not accepted, the previous value is set for the text field. If a value is not accepted and the previous value is also not within the valid range, the nearest limit for the TextField is set.
Example:
- A TextField has the value 0. If you set the minimum value to 1 and the maximum value to 3, then the TextField has the value 1.
- A TextField has the value 5. If you set the minimum value to 1 and the maximum value to 3, the TextField has the value 3.