RAD Studio VCL Reference
|
Retrieves the identifier for a conversion family given its name.
function DescriptionToConvFamily(const ADescription: string; out AFamily: TConvFamily): Boolean;
Boolean DescriptionToConvFamily(const AnsiString ADescription, TConvFamily AFamily);
ConvUtils
DescriptionToConvFamily retrieves the conversion family identifier for the family with the name specified by ADescription.
ADescription is the name supplied to the RegisterConversionFamily method when the family was registered. Typically, it identifies the type of thing measured by conversion types in the family. For example, the description for the cbTemperature family is 'Temperature'.
AFamily returns the identifier for the specified conversion family when DescriptionToConvFamilyt returns true.
DescriptionToConvFamily returns true if ADescription identifies a registered conversion family, false otherwise.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|