RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TypInfo.TOrdType Enumeration

Enumerates floating point number types in the TTypeData record.

Pascal
TOrdType = (
  otSByte,
  otUByte,
  otSWord,
  otUWord,
  otSLong,
  otULong
);
C++
enum TOrdType {
  otSByte,
  otUByte,
  otSWord,
  otUWord,
  otSLong,
  otULong
};

TypInfo

The GetTypeData routine utilises Delphi's RTTI (Run Time Type Information) to return a pointer to TTypeData record that describes a component property data type.  

TTypeData is a variant record : the layout depends on the property TTypeKind value. When it is tkWChar, the data is one of the TOrdType enumerated values.  

The TOrdType value meanings are as follows :

Value 
Meaning 
otSByte  
Signed byte.  
otUByte  
Unsigned byte  
otSWord  
Signed Word  
otUWord  
Unsigned Word  
otSLong  
Signed Long  
otULong  
Unsigned Long  

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!