Yes, that's right.

My coworkers reported that the same occurs when renaming
controls/components. It's renamed at LFM file, but not in PAS file. No
reported exception when deleting/renaming.


Em qui, 25 de out de 2018 às 11:07, Vojtěch Čihák <vojtech.ci...@atlas.cz>
escreveu:

> Hi,
>
>
>
> do you mean that you add control on the form (let's say Button1), then you
> remove it (in designer) and line "Button1: TButton;" remains in source
> editor?
>
>
>
> V.
>
> ______________________________________________________________
> > Od: "Fabio Luis Girardi via Lazarus" <lazarus@lists.lazarus-ide.org>
> > Komu: "Lazarus mailing list" <lazarus@lists.lazarus-ide.org>
> > Datum: 25.10.2018 15:09
> > Předmět: [Lazarus] Remove unmatched vars in published
> >
> Hi all!
> Lazarus has some feature, to remove all unmatched variable names (on
> published of class, specially on TForm class and it's descendants) that
> don't have a control or component with the same name?
> I'm working with big forms (process screens) and my coworkers are deleting
> some controls, but sometimes, Lazarus don't remove the variable. This
> behavior leads to some errors, like access violation, due access to a nil
> variable that still is referenced in code, but that is not created by the
> LFM reader (because it doesn't exist). If the variable is removed at the
> moment that the control is being deleted (or before save form) this erros
> will be filtered at compile time.
> --
> The best regards,
>
> Fabio Luis Girardi
> PascalSCADA Project
> http://sourceforge.net/projects/pascalscada
> http://www.pascalscada.com
>
>
> ----------
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus@lists.lazarus-ide.org
> https://lists.lazarus-ide.org/listinfo/lazarus
>


-- 
The best regards,

Fabio Luis Girardi
PascalSCADA Project
http://sourceforge.net/projects/pascalscada
http://www.pascalscada.com
-- 
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to