[Lazarus] Assign "RunParameters" to "Build Modes"

Reinier Olislagers reinierolislagers at gmail.com
Thu May 3 16:15:56 CEST 2012

On 3-5-2012 15:34, William Oliveira Ferreira wrote:
> Hi!
> I've got that Build Modes are there to change how the project is build.
> But, it's possible to change "Run parameters" (Run > Run Parameters)
> with Build Modes?
> I use a "Run Parameter" in my project to check how some parameters are
> passed to it destination, parameters like a sql query, a current var
> value in a loop, (etc...) and i use showmodal to check these data when a
> "Run parameter" is passed...
> ...So, when my Build Mode is Debug, then, i like to set "Run Parameter",
> else, i like to clear it...

Nope not AFAIK, but great minds think alike ;)

I wanted to have the possibility of multipe "run modes" that can be
stored in a central project or .lps file. Have a look here:
... though I wanted to store

More information about the Lazarus mailing list