See attached diff. Would that be a viable approach? Bart -------------- next part -------------- A non-text attachment was scrubbed... Name: shell.diff Type: text/x-patch Size: 1652 bytes Desc: not available URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130404/cc2d844c/attachment-0003.bin>