Paul
Yes, that solves my problem. I was not making my own config object.
Just one comment, instead of making ToggleButtonConfig object, which would mean I have to specify bit maps and everything for the switch,
I just copied Switch_Medium object, put in on the PageDefault, renamed it, and assigned it to Appearance of the ToggleButton1. then changed the all the colours to black.
Thank You
Robert