Lars Fosdal 1791 Posted December 10, 2018 Is there a way access TCustomAttribute values on individual enumerated values? type TLevel = ( [Tx('First')] one, [Tx('Second')] two, [Tx('Third')] three ); Share this post Link to post
Lars Fosdal 1791 Posted December 12, 2018 It does allow the syntax, though - so perhaps someone had it planned, once upon a time. Share this post Link to post
Stefan Glienke 2002 Posted December 12, 2018 (edited) You can put attributes almost everywhere without any errors, that does not mean that they are planned to be supported in these places. Edited December 12, 2018 by Stefan Glienke 1 Share this post Link to post
Kryvich 165 Posted December 12, 2018 (edited) 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 December 12, 2018 by Kryvich Share this post Link to post