Unit 'CalcForm' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TCalculatorState

Declaration

Source position: calcform.pas line 38

type TCalculatorState = (

  csFirst,

  

Value on the First key press.

  csValid,

  

Value after the operation for the key has been applied successfully.

  csError

  

Value when the operation resulted in an error.

);

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

TCalculatorPanel.Status

  

Contains the status or state for the calculator panel.