0

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.

4
  • Can you please explain more about your problem as its a bit unclear from your situation what exactly you are trying. Commented 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 value Commented Nov 9, 2021 at 3:03
  • Please provide enough code so others can better understand or reproduce the problem. Commented 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. Commented Nov 10, 2021 at 2:47

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.