WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: chrislegarth on September 25, 2022, 06:18:15 PM

Title: ReportView Highlighted/Selected Row Color
Post by: chrislegarth on September 25, 2022, 06:18:15 PM
Just curious if there is a way to change the color of the highlighted/selected row in a ReportView to a different color than what appears to be the default blue.
Thoughts?

Thanks!
Title: Re: ReportView Highlighted/Selected Row Color
Post by: td on September 26, 2022, 07:04:34 AM
WinBatch does not offer a way to change a REPORTVIEW control's selected item's background color. WIL dialogs use the current system selection color so you could change the system colors and the selection color by modifying the current "theme" but that is not what you are really asking about. You can also use DialogControlSet with request-code @dcitemcolor to change the unselected background color of a row.
Title: Re: ReportView Highlighted/Selected Row Color
Post by: chrislegarth on September 26, 2022, 02:15:51 PM
Thanks Tony!  I had a feeling it was coming from the current theme/system colors.
It's not the end of the world for my program but figured it would not hurt to ask since I could not find anything in the documentation.

I appreciate everyone's help on the forum!