Subj : Re: How do you tell what type a TVariant holds To : borland.public.cpp.borlandcpp,borland.public.cppbuilder.activex,borland.public.cppbuilder.vcl.components.writing From : Remy Lebeau \(TeamB\) Date : Thu Jul 01 2004 11:20 am "Gary Setter" wrote in message news:40e402af@newsgroups.borland.com... > the vt member is actually an enum. Only in part. The vt member itself is declared as a VARTYPE, which is a typedef for an unsigned short. The individual values that can be assigned to VARTYPE are declared as an enum named VARENUM, but VARTYPE itself is not an enum because it can have multiple values assigned to it at a time, which an enum cannot do. Gambit .