Click here to Skip to main content
15,886,067 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello all,

I'm in a need of designing a Guarded switch. Physical switch is shown below

Closed
Open

I need a functionality like this in my UI i.e. User should do an extra click to have access to the Button below.

The rationale is, the button would control power of certain devices. I don't want users to accidentally turn off the devices.

Hence, I need a Mask on top of On/Off button in my UI.

Sample Button[^]


Kindly help.
Posted
Comments
George Swan 17-May-15 3:22am    
I suggest you pop up a confirmation DialogBox in response to the button click.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900