I've just make some like that: for i := 0 to 10 do begin MenuItem := TMenuItem.Create(Self); MenuItem.Caption := 'tst ' + IntToStr(i); PopMenu.Add(MenuItem); ShowMessage(MenuItem.Name); end;
Despite the MenuItem is created in the PopMenu, the ShowMessage is showing blank. How can a TComponent be created with the Name being blank "". How can various TComponent being with the same blank Name "". Att. Everton Vieira.
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
