Recent

Author Topic: Switch Main Unit File???  (Read 6151 times)

Stumpftopf

  • Newbie
  • Posts: 1
Switch Main Unit File???
« on: June 26, 2009, 11:20:48 am »
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

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: Switch Main Unit File???
« Reply #1 on: June 26, 2009, 01:28:58 pm »
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

  • Hero Member
  • *****
  • Posts: 8819
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Switch Main Unit File???
« Reply #2 on: June 26, 2009, 01:51:08 pm »
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

  • Hero Member
  • *****
  • Posts: 683
    • parmaja.org
Re: Switch Main Unit File???
« Reply #3 on: June 27, 2009, 01:46:51 pm »
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.

 

TinyPortal © 2005-2018