My code example was meant to serve as an example to give you an idea - it was never meant to be fully working because how would I have known about your widgets and therefore how to code the widget-walk.
Furthermore, you internal procedure needs the handle to the widget as input parameter as specified with persistent run and in your internal procedure you need to set the BGCOLOR on the handle, _NOT_ on the SELF system handle.
If you want to get fully working code samples you need to post your code first. If you do, please wrap it in CODE tags so that your post become better readable. Then if somebody devotes time you will probably get a working sample as a response.
Heavy Regards, RealHeavyDude.