[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'CalcForm' (#lcl)

# TCalculatorLayout

Represents layouts used for panels on a TCalculatorForm instance.

## Declaration

Source position: calcform.pas line 40

`type TCalculatorLayout = (`
`clNormal,` |  | The default layout with larger button sizes, more whitespace, and buttons for common calculator operations like Back, Clear, Ok and Cancel.
`clSimple` |  | The compact layout with smaller buttons using equally sized sizes. Some buttons like Back, Clear, Ok and Cancel are omitted in the simple layout.
`);`

## Description

TCalculatorLayout is an enumerated type with values that represent the layout for keys and panels on a calculator form. TCalculatorLayout is passed as an argument to the CreateCalculatorForm routine, and to methods in TCalculatorForm and TCalculatorPanel.

## See also

TCalculatorForm.Create |  | Constructor for the class instance.
TCalculatorForm.InitForm |  | Initializes the calculator form using the specified layout.
TCalculatorPanel.CreateLayout |  | Initializes and configures the calculator panel using the specified layout.