[fpc-devel] TComponent.Name can not be set to ''

Michael Van Canneyt michael at freepascal.org
Wed Jun 20 09:29:18 CEST 2007



On Wed, 20 Jun 2007, Graeme Geldenhuys wrote:

> The other thing I noticed as well is that you can't use the hash (#)
> character in the component name anymore.
> 
> I used to name all internal components in fpGUI as '#button' or
> '#edit'.  I had to change all of them to '_button' or '_edit'.  Not a
> show stopper though.

This is due to a Delphi compatibility fix. Component names must be valid
identifiers. Logical, since the name must match the field name in the form,
and that must be a valid pascal identifier...

Michael.

> 
> Graeme.
> 
> 
> On 20/06/07, Martin Schreiber <fpmse at bluewin.ch> wrote:
> > Hi,
> > A possible show stopper for FPC 2.2:
> >
> > http://www.freepascal.org/mantis/view.php?id=9115
> >
> > Martin
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
> 
> 



More information about the fpc-devel mailing list