Vcl.OleCtrls.TEnumPropDesc.StringToValue

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function StringToValue(const S: string): Integer;

C++

int __fastcall StringToValue(const System::UnicodeString S);

Properties

Type Visibility Source Unit Parent
function public
Vcl.OleCtrls.pas
Vcl.OleCtrls.hpp
Vcl.OleCtrls TEnumPropDesc

Description

Maps a string representation of the property value to the integer value.

Use StringToValue to map the string representation of a property value used by an OLE control object to an integer value that is a more accurate representation of the property value. If the property value is not an integer, the integer associated with the string can be a pointer to the value.

See Also