[Lazarus] Invalid component names

Gabor Boros gaborboros at yahoo.com
Mon Apr 27 09:14:36 CEST 2009


Hi,

I always use the variable's name to component name.

var
    MyLabel15:TLabel;

begin
    MyLabel15:=TLabel.Create(Self);
    MyLabel15.Name:='MyLabel15';
end;

Gabor

Hans-Peter Diettrich írta:
> So the remaining question is: How to assign unique names to dynamically 
> created components? Does there exist an immediately usable method or 
> function?





More information about the Lazarus mailing list