Recent

Author Topic: initial code  (Read 6633 times)

hgraca

  • New member
  • *
  • Posts: 7
initial code
« on: October 07, 2009, 08:45:27 pm »
hi, im new to lazarus. I would like to change the template that opens when I start lazarus, can that be done?


tkx.

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2674
Re: initial code
« Reply #1 on: October 08, 2009, 11:32:56 am »
what template ?
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

hgraca

  • New member
  • *
  • Posts: 7
Re: initial code
« Reply #2 on: October 08, 2009, 01:42:06 pm »
When I start lazarus, it opens the code window with some stuff written there, and a project window where you will supposedly put some buttons or whatever.

However, im only using this as a tool to teach young kids the basics of programming and its quite annoying to always have to close that thing and open another one. They tend to forget to close it and open another kind of project and it gets messy...VERY messy, because then it doesnt work properly or it compiles the wrong code or it just crashes and they lose everything or...or...or...

Anyway, I just want to make dealing with lazarus as simple as it can get, so that the focus is on programming and not on the IDE.

I hope you can understand this...

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: initial code
« Reply #3 on: October 08, 2009, 04:46:28 pm »
In IDE Options, on the Environment page, if you check "Open last project at start" Lazarus will come up with the last opened project whenever you start it. That would mean that only the very first time after installing would you see the new app that you don't want.

However, if you do want a new project every time you start Lazarus instead of the last-opened project, then it appears as though you're stuck for now with what looks like File | New | Application project on startup.

You could post a feature request on the Bugtracker at left for a way to specify which File | New project type to use as the default. Then you could select one of the simpler project types (I'm assuming that's what you want). Or you could add your own custom project type to the list and use that as the default.

Let me know if I'm not understanding what you need.

Thanks.

-Phil

hgraca

  • New member
  • *
  • Posts: 7
Re: initial code
« Reply #4 on: October 08, 2009, 09:04:41 pm »
Thats exactly what I wanted!

tkx

I will put the request.

:)

 

TinyPortal © 2005-2018