Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Using the Lazarus IDE
»
Options
»
Switch Main Unit File???
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Translate .lfm file in a ...
by
wp
[
Today
at 12:07:11 am]
Playing video without to ...
by
n7800
[April 17, 2026, 11:51:39 pm]
Delimited text - how find...
by
n7800
[April 17, 2026, 11:28:25 pm]
overloading issues fpc3.2...
by
Martin_fr
[April 17, 2026, 10:21:07 pm]
Ann: Deinline: a de-inlin...
by
LeP
[April 17, 2026, 09:58:08 pm]
FPC Unleashed (inline var...
by
440bx
[April 17, 2026, 08:38:11 pm]
Can I get the position an...
by
CM630
[April 17, 2026, 03:36:42 pm]
Seeking advice on setting...
by
schuler
[April 17, 2026, 03:36:28 pm]
AI assisted translation o...
by
schuler
[April 17, 2026, 03:27:56 pm]
Ann: DeCoperators
by
DomingoGP
[April 17, 2026, 03:23:39 pm]
Error: Compilation raised...
by
marcov
[April 17, 2026, 02:44:06 pm]
TLazSerial : serial port ...
by
CM630
[April 17, 2026, 09:50:34 am]
I hope FreePascal can sup...
by
xiyi0616
[April 17, 2026, 05:49:05 am]
[Solved] Help needed comp...
by
landolfi
[April 17, 2026, 02:45:10 am]
DataPort or Synpase stat...
by
eldonfsr
[April 16, 2026, 11:32:18 pm]
[FPC 3.2.4, Windows] PTC ...
by
Fred vS
[April 16, 2026, 08:26:24 pm]
Cannot build Units for Si...
by
NormanDunbar
[April 16, 2026, 07:39:07 pm]
IDE: Property editor does...
by
dsiders
[April 16, 2026, 07:04:22 pm]
What is wrong with this c...
by
OH1KH
[April 16, 2026, 04:32:48 pm]
[work arounded]Naming dae...
by
LeP
[April 16, 2026, 03:36:10 pm]
Lazarus Bugfix Release 4....
by
Jonax
[April 16, 2026, 03:06:25 pm]
CudaText editor (written ...
by
AlexTP
[April 16, 2026, 10:43:12 am]
C header function with on...
by
440bx
[April 16, 2026, 09:13:38 am]
(Solved)TUpDown KeyDown ...
by
LeP
[April 15, 2026, 11:21:09 pm]
Zipper: Addition of mult...
by
marcov
[April 15, 2026, 10:35:15 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Switch Main Unit File??? (Read 6294 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?
Logged
Vincent Snijders
Administrator
Hero Member
Posts: 2661
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).
Logged
Leledumbo
Hero Member
Posts: 8836
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.
Logged
Follow this if you want me to answer:
http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F
http://pascalgeek.blogspot.com
https://bitbucket.org/leledumbo
https://github.com/leledumbo
Code first, think later - Natural programmer B)
Zaher
Hero Member
Posts: 683
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.
Logged
github.com/parmaja
github.com/zaher
https://codeberg.org/zaher/zaher
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Using the Lazarus IDE
»
Options
»
Switch Main Unit File???
TinyPortal
© 2005-2018