Click here to Skip to main content
15,887,822 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello,i am Gaurav Mall and i'm a programmer.I want to create a switch button for my Settings App in my os,few years ago when i was not creating a os i remembered how to create a switch button but now i don't.Help,anyone,please!
Posted
Comments
CPallini 22-Aug-15 15:30pm    
What is a 'switch button for an operative system'?
:confused:
Gn-Inc. 23-Aug-15 6:38am    
A switch button is a button that you can use for 2 thing like on or off.The Operating System is a system in that you can run multiple things.
CPallini 23-Aug-15 6:49am    
OK, I think I can grasp the two concepts separately. However what has to do a button with an operative system? Are you talking about the OS GUI subsystem?
Gn-Inc. 24-Aug-15 10:57am    
I want to put that switch button in my settings app in my Operating System or OS GUI subsystem.

1 solution

Not sure what you want to achieve, but i'm almost sure you want to use ToggleButton[^]

Guidelines for toggle switch controls[^]
 
Share this answer
 
Comments
Gn-Inc. 24-Aug-15 10:58am    
Yes,i want a toggle button
Maciej Los 24-Aug-15 11:21am    
So, use it! Please, accept my answer as a solution (green button).
Gn-Inc. 24-Aug-15 13:33pm    
Ok!
Maciej Los 24-Aug-15 13:36pm    
Thank you!
Cheers, Maciej

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