Yes, I know. But I just want to show an example.

Gabor

Hans-Peter Diettrich írta:
> Gabor Boros schrieb:
> 
>> I always use the variable's name to component name.
>>
>> var
>>     MyLabel15:TLabel;
>>
>> begin
>>     MyLabel15:=TLabel.Create(Self);
>>     MyLabel15.Name:='MyLabel15';
>> end;
> 
> Exactly this code will cause an exception, when the procedure is called 
> more than once - as I need it to create multiple floating controls.
> 
> DoDi

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

Reply via email to