That is not so bad, since what FindComponent loop does is the same as Barth done with his loop, matching the name of the component. Antônio -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130608/b9bb5a79/attachment-0003.html>