Checkedlistbox Highlighting

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 6 years and 2 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.
Locked
User avatar
WSUsoftware
Posts: 30
Last visit: Thu Feb 17, 2022 2:52 pm

Checkedlistbox Highlighting

Post by WSUsoftware »

Is it possible to disable the text highlighting that occurs when you click on a checkedlistbox item like in the image below?
highlight.PNG
highlight.PNG (2.9 KiB) Viewed 2101 times
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: Checkedlistbox Highlighting

Post by jvierra »

Change hilite to control background color.
User avatar
WSUsoftware
Posts: 30
Last visit: Thu Feb 17, 2022 2:52 pm

Re: Checkedlistbox Highlighting

Post by WSUsoftware »

I do not see that property anywhere in the properties panel in PowerShell Studio.
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: Checkedlistbox Highlighting

Post by jvierra »

Sorry. I was thinking of WPF.

You can't turn off the hilite.
This topic is 6 years and 2 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.
Locked