Switch Main Unit File??? lazarus / 11-Options ---------------------------------------------------------------------- Stumpftopf · 2009-06-26 09:20 Hi, i wan't to port an VP project. I created a ne empty project and added the files. So but i don't know how to set the main unit. Please, can anybody help? ---------------------------------------------------------------------- Vincent Snijders · 2009-06-26 11:28 The only way I know is to create a new project with Project -> Create project from file and browse to the main program file (for lazarus usually the .lpr). ---------------------------------------------------------------------- Leledumbo · 2009-06-26 11:51 Err... isn't the option available in the project inspector? If I'm not mistaken I've ever seen a context menu option like "set as main project file" or something. ---------------------------------------------------------------------- Zaher · 2009-06-27 11:46 Main project unit have .lpr extension and it is unique in whale project. Why you need to change the file?, just change the lpr file content.