Recent

Author Topic: How to create another program or start over again new apps.  (Read 2433 times)

microguy

  • Jr. Member
  • **
  • Posts: 60
How to create another program or start over again new apps.
« on: December 22, 2024, 12:21:56 am »
First time to open Lazarus and I have been working on it. Now I want to create another apps. When I create a new apps and notice it save in same folder. I am not sure what did I do wrong. I want to have one folder for all apps but subfolder for each apps. I am trying to create several apps to test it before next project. What is the best way to do this? I did click on  Project then new Project. I am not sure where did it save at. I just want to click new project then save on new subfolder. Maybe you can give me some suggestions what is the best way to do it. It has been awhile not to use it.  Where do you save the program? I would like to open lazarus and it gives me list of program that I have been working on it. I know we can click Open recently. Sometime it works and other time not working.
« Last Edit: December 22, 2024, 12:24:54 am by microguy »

dsiders

  • Hero Member
  • *****
  • Posts: 1464
Re: How to create another program or start over again new apps.
« Reply #1 on: December 22, 2024, 01:08:51 am »
First time to open Lazarus and I have been working on it. Now I want to create another apps. When I create a new apps and notice it save in same folder. I am not sure what did I do wrong. I want to have one folder for all apps but subfolder for each apps. I am trying to create several apps to test it before next project. What is the best way to do this? I did click on  Project then new Project. I am not sure where did it save at. I just want to click new project then save on new subfolder. Maybe you can give me some suggestions what is the best way to do it. It has been awhile not to use it.  Where do you save the program? I would like to open lazarus and it gives me list of program that I have been working on it. I know we can click Open recently. Sometime it works and other time not working.

Use the Project > Project Save As menu. You can create a folder, change to the new folder, and set the name for the new project .lpi/.lpk and units .pas/.pp from that dialog.
Preview the next Lazarus documentation release at: https://dsiders.gitlab.io/lazdocsnext

TRon

  • Hero Member
  • *****
  • Posts: 4377
Re: How to create another program or start over again new apps.
« Reply #2 on: December 22, 2024, 01:09:03 am »
Note that I can only speak about the routine that I practice myself.

Now I want to create another apps.
Close current project (save if asked/required). In the project dialog, create a new project (don't forget to choose the type of application that you wish to create).

Quote
When I create a new apps and notice it save in same folder.
Directly after creating a new project, project, save (or save as). A requester will ask where you want to store the project. I usually create a new directory (one directory per project) and save all the files that Lazarus asks for to save in that (single) directory).

Do this before doing anything else. If you add units later and close your project (or want to build) Lazarus will ask to save the new unit and will save that to the last selected directory.

Quote
I am not sure what did I do wrong.
I can only guess but most issues/confusion seem to originate from the default folder that Lazarus uses. It is somewhere (never tried to look where) and will be used as long as you don't change the directory for another project (see my earlier steps). So, you could end up with all your projects into a single directory in case you never bothered to change it (hence the suggestion to do a forced save or save-as directly after you created the project).

Quote
I want to have one folder for all apps but subfolder for each apps.
As per suggestion made above. Create a project and directly save/save as, navigate to the correct folder, create a new folder in case required and save each file Lazarus ask for to save into that directory).

Quote
I would like to open lazarus and it gives me list of program that I have been working on it. I know we can click Open recently. Sometime it works and other time not working.
The feature of a list with all the programs you worked on is not available. You could consider a feature request in the bug-tracker for a feature like that. I am not aware there currently exist a project manager plugin (other than project groups but that serves another purpose).
« Last Edit: December 22, 2024, 01:13:11 am by TRon »
Today is tomorrow's yesterday.

microguy

  • Jr. Member
  • **
  • Posts: 60
Re: How to create another program or start over again new apps.
« Reply #3 on: December 22, 2024, 02:06:38 am »
Thank you for suggestions.

n7800

  • Hero Member
  • *****
  • Posts: 547
Re: How to create another program or start over again new apps.
« Reply #4 on: October 03, 2025, 07:54:07 pm »
Quote
I would like to open lazarus and it gives me list of program that I have been working on it. I know we can click Open recently. Sometime it works and other time not working.
The feature of a list with all the programs you worked on is not available. You could consider a feature request in the bug-tracker for a feature like that. I am not aware there currently exist a project manager plugin (other than project groups but that serves another purpose).

What feature request are we talking about? What's wrong with recent items? There are three recent lists (+1 if the LazProjectGroups package is installed):
* Menu > File > Open Recent
* Menu > Project > Open Recent Project
* Menu > Package > Open Recent Package
* Menu > Project > Open Recent Project Group

IDE options allow to customize the number of items in this list, or even disable the limit.

There's also a "Favorites" package for remembering favorite projects, see here for details.

Thaddy

  • Hero Member
  • *****
  • Posts: 18321
  • Here stood a man who saw the Elbe and jumped it.
Re: How to create another program or start over again new apps.
« Reply #5 on: October 03, 2025, 08:04:40 pm »
Simply teach yourself to immediately save your new project with a new name...Otherwise you are stuck with projectxxx for a long time...
Due to censorship, I changed this to "Nelly the Elephant". Keeps the message clear.

TBMan

  • Sr. Member
  • ****
  • Posts: 277
Re: How to create another program or start over again new apps.
« Reply #6 on: October 03, 2025, 10:11:03 pm »
How can you understand coding without a good basic knowledge of folders and file storage in your operating system?
I love programming.

Some things I've done using PTCgraph:

NFL Retro Football (almost finished):
https://www.youtube.com/watch?v=78mTtsd7ppk


Solitaire games:
https://www.youtube.com/watch?v=zmtxI7FdWuQ&list=PLa4BPpFl34iVhFwX1JZwVm3vE5ay_i3R2

n7800

  • Hero Member
  • *****
  • Posts: 547
Re: How to create another program or start over again new apps.
« Reply #7 on: October 04, 2025, 02:00:05 am »
Please note that this is an old thread, and I think the author has figured it all out.

I posted here because I'm curious about @TRon comment about a feature request for which I believe a recents menu already exists.

TBMan

  • Sr. Member
  • ****
  • Posts: 277
Re: How to create another program or start over again new apps.
« Reply #8 on: October 04, 2025, 04:20:59 pm »
Please note that this is an old thread, and I think the author has figured it all out.

Lol, are you sure?
I love programming.

Some things I've done using PTCgraph:

NFL Retro Football (almost finished):
https://www.youtube.com/watch?v=78mTtsd7ppk


Solitaire games:
https://www.youtube.com/watch?v=zmtxI7FdWuQ&list=PLa4BPpFl34iVhFwX1JZwVm3vE5ay_i3R2

n7800

  • Hero Member
  • *****
  • Posts: 547
Re: How to create another program or start over again new apps.
« Reply #9 on: October 05, 2025, 11:01:55 am »
Lol, are you sure?

Please scroll up and look at the date of my first message. In the attached screenshot, I've highlighted the message dates, and you can see that 10 months have passed since the author's thankful reply.

TBMan

  • Sr. Member
  • ****
  • Posts: 277
Re: How to create another program or start over again new apps.
« Reply #10 on: October 05, 2025, 07:24:37 pm »
Lol, are you sure?

Please scroll up and look at the date of my first message. In the attached screenshot, I've highlighted the message dates, and you can see that 10 months have passed since the author's thankful reply.

Do you understand the concept of humor? Maybe English isn't your native language?
I love programming.

Some things I've done using PTCgraph:

NFL Retro Football (almost finished):
https://www.youtube.com/watch?v=78mTtsd7ppk


Solitaire games:
https://www.youtube.com/watch?v=zmtxI7FdWuQ&list=PLa4BPpFl34iVhFwX1JZwVm3vE5ay_i3R2

n7800

  • Hero Member
  • *****
  • Posts: 547
Re: How to create another program or start over again new apps.
« Reply #11 on: October 06, 2025, 06:13:36 am »
Yes, it looks like I missed your joke through my browser's translator ))

 

TinyPortal © 2005-2018