System.StdConvs.cbTemperature

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

cbTemperature: TConvFamily;

C++

extern DELPHI_PACKAGE System::Convutils::TConvFamily cbTemperature;

Properties

Type Visibility Source Unit Parent
variable public
System.StdConvs.pas
System.StdConvs.hpp
System.StdConvs System.StdConvs

Description

The cbTemperature variable designates units that measure temperature.

Use the cbTemperature unit variables as parameters to the Convert function to convert a cbTemperature measurement to a different set of units. The StdConvs unit registers these cbTemperature measurement units in the cbTemperature family and assigns the resulting TConvType values to these global variables.

Note: Do not change the value of cbTemperature. cbTemperature contains a handle obtained by a call to RegisterConversionFamily. Changing the value of cbTemperature will make temperature conversions not work properly.

Note: To initialize these variables in C++ programs, use the InitStdConvs procedure.

See Also