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 1 month 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 have a checked list box with static items. I need a button on my form to be enabled when a specific item in the checked list box is checked, and disabled when it's unchecked. I'm not sure which event handler to use; I'm trying ItemCheck but it's not working the way I want.
But because the ItemCheck event handler doesn't update till after the item is checked, this doesn't work until you check another item. Is there a more elegant way to do this?
This topic is 4 years and 1 month 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.