Newsgroups : Borland : borland.public.delphi.rtl.win32 : 2005 Aug : Type Kind For TDateTime, TTime and TDate

www.cryer.info
Managed Newsgroup Archive

Type Kind For TDateTime, TTime and TDate

Subject:Type Kind For TDateTime, TTime and TDate
Posted by:"Anthoni Gardner" (antho..@nonono_yahoo.co.uk)
Date:12 Aug 2005 22:58:07

Hello there,

I am using RTTI to enumerate properities of objects which are unknown
at design time, loaded in dynamically. So far so good. I am using an
editor to allow users to edit the properties of said objects. Again so
far so good.

The problem is when I come across a property that is a TDateTime, TTime
or TDate there is no type kind for this, understandbly as this is a
double in Delphi (so must be tkInt64, yes?). So how do I know if its a
date and not just a number?

Regards
Anthoni

Replies:

www.cryer.info
Managed Newsgroup Archive