Some useful extra dialogs such as Calendar, Calculator and Open/Save Picture TCalculatorDialog - a small calculator window that pops up, allowing the user to perform simple calculations and return the value to the calling Component CalcDisplay - the current numerical value in the main calculator display Memory - the value stored in the calculator's memory BeepOnError - if True, beeps when there is an entry error or other calculator error CalculatorLayout - whether simple or normal Precision - the level of precision to be used in calculations; default is set by DefCalcPrecision Value - the numerical value (result) returned by the calculator OnCalcKey - event handler for a key press in the calculator OnChange - event handler for any change in the calculator OnDisplayChange - event handler for any change in the calculator display TCalculatorForm - a normal form with a built-in calculator

TCalculatorForm - a normal form with a built-in calculator

There is a MainPanel in which the standard LCL widgets can be placed, and a CalcPanel which displays a calculator which has the functionality of a TCalculatorDialog but remains permanently displayed

The MainPanel of the Form, which can contain any sort of LCL components The CalcPanel which displays the calculator The DisplayPanel within the calculator panel, that holds the numeric display The DisplayLabel for the calculator display Create - constructor for the whole form, not just the calculator CreateLayout - constructor for the calculator panel using the specified layout Value - the numeric value, the result of the calculation, to be returned to the main program TCalendarDialog - a popup calendar dialog that allows a date to be selected and returned to the main program DialogTitle - caption for the calendar dialog The selected Date, for return to the main program

The selected Date, for return to the main program

This is NOT the standad RTL Date function

DisplaySettings - the user-selected settings determining the appearance of the display

DisplaySettings - the user-selected settings determining the appearance of the display

Possible values are: ShowHeadings,ShowDayNames, NoMonthChange, ShowWeekNumbers, StartMonday

This is a set which may contain zero or more settings

OnDayChanged - event handler when a different day is selected OnMonthChanged - event handler when a different month is selected OnYearChanged - event handler when a different year is selected DialogPosition - position to display the dialog - by default in the centre of the main form OKCaption - caption for the OK button CancelCaption - caption for the Cancel button GetNewDate - programmatic simulation of OnClick event, which transfers the selected dae to the calling program