Detecting changes on Properties panel lazarus / 21-General ---------------------------------------------------------------------- AsleyCruz · 2024-09-29 15:18 Hi coders, Is there a way to detect any change on any property panel? I would like to get the property name that has changed its value. Thanks a lot. ---------------------------------------------------------------------- LV · 2024-09-29 16:28 If I'm understanding the question right, all changes you make to the properties of a component using the object inspector will be displayed in text format in the .lfm file after you save it. ---------------------------------------------------------------------- jamie · 2024-09-29 16:37 I believe he is using the Object inspector's code for his own purposes, which you can do. ---------------------------------------------------------------------- AsleyCruz · 2024-09-29 17:41 Quote from: jamie on September 29, 2024, 06:37:55 pmI believe he is using the Object inspector's code for his own purposes, which you can do. Yes bro, I'm developing my custom button component. Do you know how I can work with IDE property panel? Or maybe someone else knows that. Thanks ---------------------------------------------------------------------- jamie · 2024-09-29 19:04 Quote from: AsleyCruz on September 29, 2024, 07:41:37 pmQuote from: jamie on September 29, 2024, 06:37:55 pmI believe he is using the Object inspector's code for his own purposes, which you can do. Yes bro, I'm developing my custom button component. Do you know how I can work with IDE property panel? Or maybe someone else knows that. Thanks Now you are confusing me? You say you are creating your own button component? This now leads me to believe it has nothing to do with Object inspector's code. If you need to detect changes in a property at runtime, you need to create a Setter function for the property. In that function you can then capture the moment where the value is changed. Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i TmyClass = ClassfMyColor:TColor;Procedure FSetMyProperty(Avalue:TCOlor);.... Published  Property TmyColor:TColor read fMycolor write fSetMyProperty;....End;   Write the Procedure for the "fSetMyproperty" in the implementation section. Is that what you need? If not, I am totally confused by now!