Jump to content
Lars Fosdal

RTTI, enumerated value and TCustomAttribute?

Recommended Posts

Is there a way access TCustomAttribute values on individual enumerated values?

  TLevel = (



Share this post

Link to post

You can put attributes almost everywhere without any errors, that does not mean that they are planned to be supported in these places.

Edited by Stefan Glienke
  • Like 1

Share this post

Link to post

Having access to source files of the project perhaps it would be easier to extract all the necessary information from the source code using DelphiAST or similar parser.

Edited by Kryvich

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now