Author Topic: ReportView Highlighted/Selected Row Color  (Read 122 times)

chrislegarth

  • Jr. Member
  • **
  • Posts: 62
ReportView Highlighted/Selected Row Color
« 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!

td

  • Tech Support
  • *****
  • Posts: 4181
    • WinBatch
Re: ReportView Highlighted/Selected Row Color
« Reply #1 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.
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

chrislegarth

  • Jr. Member
  • **
  • Posts: 62
Re: ReportView Highlighted/Selected Row Color
« Reply #2 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!