In D7 in the Project menu there was an item View Source. Where is the equivalent in Lazarus?
Last (Bottom most) entry in the "Project" menu of the Lazarus IDE? "View Project Source"
If you mean, to open the automatically generated source for your GUI "application project". The one that creates the form and call Application.Run.
In my Project I have added two units using an OpenDialog. The units appear in the Project Inspector. But they don't appear in the Uses section of the main unit. Have I made a mistake?
1) You mean pre-existing sources (units) that you already had on disk?
1a) via menu File > Open (aka OpenDialog).
1b) via "Project inspector" Toolbar button: ADD
2) Or You mean you created 2 new units, and to each of them added a TOpenDialog component?
And "main unit" => is the lpr, the unit that you open with the above mentioned "View Project Source"?
Or the "unit1" with your main form.
If 1a) I am not sure, and haven't tested it. I don't think they should be added.
Because that menu can be used to just open the file in the editor (e.g. to open a file from another project, to look something up)
if 1b) I would expect them to be added (and if needed the IDE to ask if to add the PATH to the settings)
If 2) Those should probably be added, afaik