<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2014-11-06 23:36 GMT+01:00 Mattias Gaertner <span dir="ltr"><<a href="mailto:nc-gaertnma@netcologne.de" target="_blank">nc-gaertnma@netcologne.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, 6 Nov 2014 21:21:55 +0100<br>
Frederic Da Vitoria <<a href="mailto:davitofrg@gmail.com">davitofrg@gmail.com</a>> wrote:<br>
<br>
> Hello<br>
><br>
> I currently use Lazarus 1.2.6 / fpc 2.6.4. I have 2 issues with it<br>
><br>
> First of all, I believe the message is slightly wrong: instead of "Choose a<br>
> name for the new component", it should be "Choose a new name for the<br>
> component".<br>
<br>
</span>This dialog is shown when creating a new component and when renaming.<br>
I changed it to "Choose a name for the component".<br>
<span class=""><br>
<br>
> Here is my second issue: In a small project with only one Form, I decided<br>
> at one point to rename the standard TForm1 to TMainForm and the variable<br>
> Form1 to MainForm (using the F2 shortcut in both circumstances). The<br>
> renaming apparently proceeded correctly and fpc compiled my application<br>
> without problem. But when I ran it, I got an EResNotFound with the message<br>
> "Form resource TMainForm not found (...)". I then discovered that in<br>
> TMainForm.lfm still contained "object Form1: TForm1". Of course, simply<br>
> renaming the component Form1 to MainForm solved the issue. In this<br>
> situation, shouldn't renaming the variable with F2 also rename the<br>
> component or at least suggest to do it?<br>
<br>
</span>Fixed in trunk.<br>
<br>
Mattias<br>
</blockquote></div><br>Great. Thanks.<br clear="all"><div><br></div>-- <br><div class="gmail_signature">Frederic Da Vitoria<br>(davitof)<br><br>Membre de l'April - « promouvoir et défendre le logiciel libre » - <a href="http://www.april.org" target="_blank">http://www.april.org</a><br></div>
</div></div>