I need a favour from those of you with 'Delphi Secrets' (I'm in
Christchurch & my copy is in Auckland).

If my memory serves me correctly, there is a way of getting a string
value equivalent (which is effectively the compiler symbol name) of an
enumerated type:

Thus:

type
  TEnumeration=(eThis,eThat,eSomethingElse)

will give:

'eThis', 'eThat', 'eSomethingElse'

I believe it's used by the designer interface for displaying options in
components (eg Grid Options).

Help!

Thanks
Kieron.
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to