VarToSet Method
Converts a variant type to a set type. The variant is an array of string with the names of enumerated types belonging to the set. The PropType parameter must receive the RTTI info about the enumerated type.
Syntax
Unit: atScript
function VarToSet(v: Variant; PropType: PTypeInfo): Integer;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| v | Variant | ||
| PropType | PTypeInfo |