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?


_______________________________________________
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to