ReportView Highlighted/Selected Row Color

Started by chrislegarth, September 25, 2022, 06:18:15 PM

Previous topic - Next topic

chrislegarth

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!

td

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.
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

chrislegarth

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!