Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where does Delphi store property information set at design time?

Tags:

delphi

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?

like image 825
N. McA. Avatar asked Apr 11 '12 09:04

N. McA.


1 Answers

It's in the Delphi form file. This file has the same name as your unit *.pas source code file but has the *.dfm extension.

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.

like image 114
TLama Avatar answered Sep 19 '22 15:09

TLama