Otto, I'm really impressed with the answer. It opens our minds.
I wonder if you can follow up that same chat and ask to write sample code that implements those steps and then compare to how close to working code it produces.
Enrico Maria Giordano wrote:What's wrong with mine? At least it is simpler. Both codes use bPainted codeblock so they are equivalent.