So i have Toggle Button. How to make program check some function if its 1 or 2, and then make Switch true or false depending on it (1 or 2) I have Toggle Button from siticone.
-
Can you please explain more about your problem as its a bit unclear from your situation what exactly you are trying.Abhinav Pandey– Abhinav Pandey2021-11-09 02:49:23 +00:00Commented Nov 9, 2021 at 2:49
-
imgur.com/a/DvmTlwg I have this kind of toggle button. How to make program read certain registry dword and then make it turned on/off depending on dword valueRobert Mastyl– Robert Mastyl2021-11-09 03:03:06 +00:00Commented Nov 9, 2021 at 3:03
-
Please provide enough code so others can better understand or reproduce the problem.Community– Community Bot2021-11-09 22:09:13 +00:00Commented Nov 9, 2021 at 22:09
-
@RobertMastyl you just have to read the registry first that won't be hard to find here if you try to search for it. For your ease here you can see how to read registries. After reading the value it won't be hard to make a switch condition or even a if-else condition.Abhinav Pandey– Abhinav Pandey2021-11-10 02:47:36 +00:00Commented Nov 10, 2021 at 2:47
Add a comment
|