Reputation: 49
How can I include a .pas in my project?
This .pas is in the same folder than the other but it does not appear together to the other.
Somebody can help me?
Upvotes: 1
Views: 3834
Reputation: 36644
Tested with XE7:
You can add a .pas file, which is currently open in the editor, by "drag & drop":
The IDE will now ask if you would like to add the file to the project.
Upvotes: 0
Reputation: 15334
It isn't enough to just put the units in the same folder. You have to explicitly add the units to your project in order for them to show up in the Project Manager. This will add an entry in your project's .dpr
and .dproj
files.
Use Shift+F11 to add units.
Upvotes: 2
Reputation: 497
Go to Project->Add to project (shift + F11) and select the file you want to add on your project, the file you added will be inserted to dpr and then you can see this file on project.
Upvotes: 7