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

TCalculatorLayout

Declaration

Source position: calcform.pas line 40

type TCalculatorLayout = (

  clNormal,

  

The default layout with larger button sizes and more whitespace.

  clSimple

  

The compact layout with smaller button sizes.

);

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.