Whenever you set a property in the Object Inspector, it must be writing some code or somehow saving the information somewhere, but where? I want to know so I can set properties and events from code but the question is the one above. Where’s the code?
Share
It’s in the Delphi form file. This file has the same name as your unit
*.passource code file but has the*.dfmextension.The current source code of your form you will get also if you’re in form designer and press ALT + F12. There you can modify what you need and with the same keystroke go back to the designer.
You can check also what other files might be generated by Delphi for your project
here.