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 4 years and 3 months 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.
I am still having trouble creating a "SelectAll" checkbox column that actually selects all checkboxes in a ROW not a column. The "SelectALL" column is the third column in the table that i would like to check all the boxes after it in the same ROW. The column names that follow the "SelectALL" column are dynamically generated so the column names are unknown prior to table generation. Here is my code so far:
You never said you want only the checkboxes in a row. That is a completely different beast. How do you plan to select the row and what action will select all checkboxes?
I have created a "SelectALL" checkbox column. I would like to check the box in the "SelectALL" column in the corresponding row that then selects all the checkboxes in that row.
That's odd. Removing one "for" loop out of that code will check all the boxes in the column. I dont really know how to build a context menu around this.
get-member does not return the $_.checked property on the row, column, or cell. Had it been there from my very first post, i wouldn't still be stuck on this.
This topic is 4 years and 3 months 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.