❔ When my checkbox is selected, the CheckState still says false.(Windows Form)

Given that my check boxes read false even when their clicked,my if statement returns the else value. How to solve?
6 Replies
Buddy
Buddy2y ago
$screenshot
MODiX
MODiX2y ago
If you want to share code, please copy and paste the code into a markdown code block in your discord post, or paste the code into https://paste.mod.gg/ and share a link to it in your discord post. If want to share a screenshot, please do not take a photo of your computer screen with your phone or camera. Instead see https://www.take-a-screenshot.org/ for how to take a screen capture on your device. You may want to crop the image before pasting it into your discord message.
Buddy
Buddy2y ago
Just because it hits the if-check doesn't mean it matches the condition
Visionary264
Visionary264OP2y ago
This is the code here.
Visionary264
Visionary264OP2y ago
The code suppose to be correct, but when I debug, even when the check box is ticked, it still says false looks like the problem was because my statements are inside of the property
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server