<< Click to Display Table of Contents >> Navigation: Using Delphi classes and functions > Registering enumerations |
To register enumeration type use TScriptParser.RegisterEnum method.
Example:
HtScriptGlobal.RegisterEnum(TypeInfo(TMsgDlgType));
Every element of enumeration is registered as constant. Maximum enumeration size is 32 for 32-bit target.