Published properties lazarus / 31-LCL ---------------------------------------------------------------------- dahaiou · 2012-09-09 12:57 I know how to create a published property in a class, and check whether a class has a certain published property or not with the boolean function IsPublishedProp. But I am having a hard time finding examples or documentation of what else I can do with the published properties. Specifically I'd like to read them and set them as well, not just check for their existence. So basically I am looking for a SetPublishedProp and a ReadPublishedProp function, maybe other similar manipulations too, but these two especially. Do they exist, and where can I find descriptions, documentation or examples. Note: I am of course aware of how to declare "Read" and "Write" mechanisms for properties, but with these methods you have to name a specific property right in the code. What I need is having the name of the property contained in a string variable and then being able to manipulate it, without the name being known at compile time. ---------------------------------------------------------------------- ludob · 2012-09-09 13:05 Look at the GetStrProp SetStrProp family of functions in the unit typinfo. ---------------------------------------------------------------------- Leledumbo · 2012-09-09 13:06 http://www.freepascal.org/docs-html/rtl/typinfo/index.html ---------------------------------------------------------------------- dahaiou · 2012-09-09 13:15 AAH! Big Thanks!