Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 2 years and 3 weeks old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Product, version and build: 2017
Operating system: win10
PowerShell version(s): 5+
32-bit version of software?
I have a datagridview populated with data and I have several checkboxes in it. I would like to add a condition 'if checkbox is false' or true' but cannot seem to figure it out...The code I have its below:
When I check or uncheck the box it always returns 'false' when clicking an unchecked box.
The "Value" property is a number or string set by the definition of the column. Set the value to return a Boolean then y9ou can test it directly. There is no need to reassign it. Creating amny new variables leads to hard to find errors, makes code unreadable and makes debugging harder.
This topic is 2 years and 3 weeks old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.