Bug mybe lazarus / 9-Editor ---------------------------------------------------------------------- BubikolRamios · 2014-12-28 23:59 If I have this leagal code: Code: [Select]  SynEdit2 = TMyCloneOfSynEdit.Create(self);   SynEdit2.parent := Self;   SynEdit2.name := 'SynEdit2' and place new SynEdit on form from toolbar,which happens to be automaticaly named 'SynEdit2' all OK up to that point. Compile does not run coz of Code: [Select]SynEdit2 = MyCloneOfSynEdit.Create(self); That is OK. If I rename last added SynEdit in prop box to SynEdit3 all code in first code segment in this post gets automaticaly repaired to SynEdit3. That is bad. In case none noticed that. No panic for couple of lines, but one could have more lines and that would be a real prob. Mybe it can be avoided. ---------------------------------------------------------------------- SunyD · 2014-12-29 00:47 No, It isn't bug, it is good feature to automatic rename the component names in source. You don't need to set name property of the runtime created components, so SynEdit2.name := 'SynEdit2' is not needed. But if you name it, then use better name to avoid conflict with automatic created components. i.E. SynEdit2.name := 'SynEditXY2'