Hi there, it's been 5 years since I wrote this post.
I've not reviewed later versions of the libraries, so (as has been commented elsewhere) the way I solved this may certainly have been improved since then.
If my method doesn't work, pause for a few seconds and scan through other post on this forum to see if there are more contemporary solutions.
For those who posted thanks (or sent me a direct thanks) I'm happy to have helped the the community - the community has certainly helped me over the years.
Remember, if you find something that you've solved, take the extra time to post it here and mark it [SOLVED] so it's easy to find.
LLAP
Ian