Difference between revisions of "IDE Window: Project Options"

From Lazarus wiki
Jump to navigationJump to search
Line 12: Line 12:
  
 
== Forms ==
 
== Forms ==
 +
 +
You can create forms on start of the project.
 +
This is the same as adding
 +
  Application.CreateForm(FormX,TFormX);
 +
lines to the code.
 +
 +
'''Note''': The forms are automatically created, not automatically shown. They are shown if their 'Visible' property is set to true. For instance the form variable is set, so you can write 'Form1.Caption:='Some text';'. To show such a form add a line 'Form1.Show;' or 'Form1.ShowModal;'.
  
 
== Miscellanous ==
 
== Miscellanous ==

Revision as of 17:24, 30 April 2006

Application

Title

Same as setting

 Application.Title:='some text';

The title is shown differently on the various platforms.

Target file name

Set here the filename of the generated executable. If the file is relative it will be expanded with the project directory (.lpi file).

Forms

You can create forms on start of the project. This is the same as adding

 Application.CreateForm(FormX,TFormX); 

lines to the code.

Note: The forms are automatically created, not automatically shown. They are shown if their 'Visible' property is set to true. For instance the form variable is set, so you can write 'Form1.Caption:='Some text';'. To show such a form add a line 'Form1.Show;' or 'Form1.ShowModal;'.

Miscellanous

LazDoc

Session