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
WIKI Timeout issues
Please read here if you have trouble connecting to the wiki
Recent
Reselect Last Selection
by
440bx
[July 09, 2025, 11:59:04 pm]
Create a png image from a...
by
jamie
[July 09, 2025, 11:56:15 pm]
Questions about GUID decl...
by
440bx
[July 09, 2025, 11:44:59 pm]
LINUX: My program stops w...
by
n7800
[July 09, 2025, 11:23:20 pm]
ChatGPT and ObjectPascal ...
by
PascalDragon
[July 09, 2025, 11:22:21 pm]
controls.lpr(731,15) Erro...
by
Guser979
[July 09, 2025, 11:22:13 pm]
[Solved] Reference to bsS...
by
Wilko500
[July 09, 2025, 11:15:03 pm]
TBufDataset with Invalid ...
by
talisjonatas
[July 09, 2025, 11:06:24 pm]
Synapse TCP/IP client and...
by
rca
[July 09, 2025, 10:46:14 pm]
activex.pp definition pro...
by
gues1
[July 09, 2025, 10:27:36 pm]
Hint windows misplaced an...
by
n7800
[July 09, 2025, 09:59:53 pm]
Input Chinese using Micro...
by
n7800
[July 09, 2025, 09:49:38 pm]
internal Compiler Error
by
marcov
[July 09, 2025, 09:25:27 pm]
Zeromemory vs. Fillchar
by
TBMan
[July 09, 2025, 09:22:44 pm]
Persistent MacOS Arm M ch...
by
Grahame Grieve
[July 09, 2025, 07:56:35 pm]
Flow fields and BFS
by
TBMan
[July 09, 2025, 06:58:22 pm]
Platform eXtended Library...
by
pascalbythree
[July 09, 2025, 05:10:57 pm]
Tangled Line Pattern Make...
by
Boleeman
[July 09, 2025, 04:27:51 pm]
DBF edit & append problem
by
Petrus Vorster
[July 09, 2025, 04:08:21 pm]
[Solved] Can't install mo...
by
lainz
[July 09, 2025, 03:28:41 pm]
[Solved]Open Project fail...
by
cdbc
[July 09, 2025, 03:06:30 pm]
Popup Form to close when ...
by
Thaddy
[July 09, 2025, 02:10:55 pm]
Spikey Splat Creatures fr...
by
Boleeman
[July 09, 2025, 01:19:35 pm]
Amigo programming languag...
by
paxscript
[July 09, 2025, 12:20:33 pm]
Ballet of Lines and Dots ...
by
Boleeman
[July 09, 2025, 09:19:59 am]
« previous
next »
Print
Pages: [
1
]
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?
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: 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.
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