Lars Fosdal 1792 Posted December 10, 2018 Consider type TSomeType = (One, Two Three); TSomeTypeHelper = record helper for TSomeType class function Values: TArray<string>; end; Can I use RTTI to find the record helper type for TSomeType and the Values function? Reason: I'd like to call Values - which would be a naming convention (since record helpers can't be inherited or generic) - for any type that has a record helper with a class function named Values. Share this post Link to post
Stefan Glienke 2002 Posted December 10, 2018 No, unless you reference the helper type itself somewhere which you typically don't and if you do you can just register the function somewhere so you don't need to use RTTI. Share this post Link to post