LCD touch screen ON/OFF Switch

Hi

I'm after a simple bit of programming to create an ON/OFF switch like the 1 in the picture.

|500x375

I've tried a few time but failed, any help much appreciated

I've tried a few time but failed

to post any code, or explain what the code actually did, and how that differed from what I want.

any help much appreciated

There's a clue-by-four up there. Whack yourself with it a couple of times. Something is bound to occur to you. If not, whack harder.