[Lazarus] How to rename a Form

Alejandro Gonzalo parkingspace26 at yahoo.com
Thu Feb 21 01:22:10 CET 2013


It's less confusing to always leave the main form name as Form1 (with its file name being specific to the project, I use the project name with a F appended at the end).  This way when you click View Forms you always know which is the main form.
 
A. G.


>________________________________
> From: Howard Page-Clark <hdpc at talktalk.net>
>To: lazarus at lists.lazarus.freepascal.org 
>Sent: Wednesday, February 20, 2013 1:18 PM
>Subject: Re: [Lazarus] How to rename a Form
>  
>On 20/02/13 9:05, Frédéric Loyer wrote:
>> When I create a new application project, my program start with a Unit1
>> (I can easily rename), associated with a "Form1" I can't rename.
>> 
>> How can I change the name of this "form"  ?
>In the Lazarus IDE, make sure the form is selected by clicking it, move focus to the Object Inspector (F12), scroll down to the Name property (first column) and change the "Form1" entry (second column) to whatever you prefer.
>
>
>--
>_______________________________________________
>Lazarus mailing list
>Lazarus at lists.lazarus.freepascal.org
>http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130220/e29d8a30/attachment-0003.html>


More information about the Lazarus mailing list