Sign in Join
FPDoc Onlineexperiment

TCalculatorState enumeration

In unit CalcForm

Represents status values used in TCalculatorPanel.

Declaration

pascal
TCalculatorState = (csFirst,csValid,csError)

Description

TCalculatorState is an enumerated type with values that represent the status for keys/operations in the calculator. TCalculatorState is the type used to implement the Status property in TCalculatorPanel.

See also

Values

csFirstValue when an initial key press or button click has not yet been detected and applied to a calculator panel.
csValidValue after an operation for a key press or mouse click has been successfully applied.
csErrorValue when an operation results in an error condition for a calculator panel.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.