Unit 'MUIClass.Numeric' Package
[Overview][Classes][Index] [#MUIClass]

TMUINumeric.Max

Adjust the maximum value for a numeric input/display gadget.

Declaration

Source position: MUIClass.Numeric.pas line 51

published property TMUINumeric.Max : Integer
  read FMax
  write SetMax
  default 0;

Description

Numeric class will automatically clip its value to make it fit between Min and Max. Also, minimum and maximum values are used for several internal calculations such as the maximum space required to display a numeric value.

You may change Min and Max with, but current MUI versions will not update the objects and with the windows width or height if your change causes the value display to change it's minimum and/or maximum pixel sizes. The slider position itself will be updated though.

See also

Min

  

Adjust the minimum value for a numeric input/display gadget.

Value

  

Adjust the current value for a numeric input/display gadget.

Default

  

Adjust the default value for a numeric input/display gadget.s

ValueToScale()

  

This method takes the current value of the numeric object and transforms it to another scale determined by the parameters.

ScaleToValue()

  

This method takes the given sale values and transforms them to something between the numeric objects min and max values.


Documentation generated on: 2022-07-30