2011/9/28 Howard Page-Clark <[email protected]>: > On 28/9/11 1:24, Rafael Tuim Elias wrote: >> >> I found a strange behavior in Lazarus IDE. To reproduce follow that steps: >> >> 1 - Create a new project. >> 2 - Rename Form1 to fmAINmENU >> 3 - Save all >> 4 - Try to rename the form to FMainMenu >> >> IDE doesn't permit. The error: This component has already the class >> TFPrint. >> >> I think it is a little bug. > > It's not a bug if the error message is > "This component has already the class fmAINmENU" > > since the IDE rightly disallows having two components with identical names > (ignoring case). So, yes, the IDE does not check if you are just altering > the case of the component name from what was originally entered. It won't > let you do that. Hardly a big deal. > > However, the English error message would be better "This component already > has the class..." (which is English, rather than transliterated German). > > H
But this behavior is different from Delphi (7). I tested it in Delphi and this problem does not occur. It's bug. -- Silvio Clécio =============================================== Blog - <silvioprog.com.br> Twitter - <twitter.com/silvioprog> Facebook - <facebook.com/silvioprog> LazSolutions - <code.google.com/p/lazsolutions> LazWebSolutions - <code.google.com/p/lazwebsolutions> Lazarus-BR - <groups.google.com.br/group/lazarus-br?hl=pt-BR> =============================================== * Conheça nosso canal IRC sobre Lazarus: #lazarus-br * =============================================== -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
