[Overview][Classes][Procedures and functions][Index] Reference for unit 'Spin' (#lcl)

TCustomFloatSpinEdit.ValueEmpty

Indicates that a value has not been assigned for the control.

Declaration

Source position: spin.pp line 84

public property TCustomFloatSpinEdit.ValueEmpty : Boolean
  read FValueEmpty
  write SetValueEmpty
  default False;

Description

ValueEmpty is a Boolean property which indicates whether or not an explicit numeric value has been assigned to the Value property. ValueEmpty is updated in the TextChanged method when a new value in Text is handled for the control. When set to True, an explicit value has not been assigned.

The default value for the property is False.

Changing the value for the property causes the UpdateControl method to be called. This re-applies the range limits in MinValue and MaxValue (when assigned and needed) and posts the update the widgetset class.

See also

TCustomFloatSpinEdit.TextChanged

  

Updates the control state when the value in Text has been changed.

TCustomFloatSpinEdit.Value

  

The floating point value for the spin edit control.

TCustomFloatSpinEdit.MinValue

  

Minimum value allowed in the spin edit control.

TCustomFloatSpinEdit.MaxValue

  

Maximum value allowed in the spin edit control.

TCustomEdit.Text

  

The text displayed and edited for the control.


Version 4.0 Generated 2025-05-03 Home