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.
Locked
User avatar
hamsandwich
Posts: 29
Joined: Thu Nov 20, 2014 12:05 pm

Checkedlistbox Highlighting

Post by hamsandwich » Thu Jan 18, 2018 11:08 am

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 621 times

User avatar
jvierra
Posts: 12958
Joined: Tue May 22, 2007 9:57 am
Contact:

Re: Checkedlistbox Highlighting

Post by jvierra » Thu Jan 18, 2018 11:11 am

Change hilite to control background color.

User avatar
hamsandwich
Posts: 29
Joined: Thu Nov 20, 2014 12:05 pm

Re: Checkedlistbox Highlighting

Post by hamsandwich » Thu Jan 18, 2018 11:15 am

I do not see that property anywhere in the properties panel in PowerShell Studio.

User avatar
jvierra
Posts: 12958
Joined: Tue May 22, 2007 9:57 am
Contact:

Re: Checkedlistbox Highlighting

Post by jvierra » Thu Jan 18, 2018 11:26 am

Sorry. I was thinking of WPF.

You can't turn off the hilite.

Locked