Recent

Author Topic: TValueListEditor and selected row color  (Read 413 times)

sergioantonio2013

  • New Member
  • *
  • Posts: 22
TValueListEditor and selected row color
« on: October 12, 2019, 03:05:41 pm »
is there a way that when you select a grid in TValueListEditor that you lighlight the entire row in a different color like blue? 
Currently if you click on a grid, it just outlines that grid with dotted lines.
I would like to highlight the entire row in a different color, is this possible in TValueListEditor.

Thanks
« Last Edit: October 12, 2019, 04:09:53 pm by sergioantonio2013 »

wp

  • Hero Member
  • *****
  • Posts: 7254
Re: TValueListEditor and selected row color
« Reply #1 on: October 12, 2019, 04:34:41 pm »
In the Options of the ValueListEditor, check the element goRowSelect. You may also want to uncheck goAlwaysShowEditor, otherwise the blue highlight is shown only in the first column, since the second column is in edit mode. (For editing a value cell, you must press F2, or click a second time, in this case).
« Last Edit: October 12, 2019, 06:18:34 pm by wp »
Mainly Lazarus trunk / fpc 3.2.0 / all 32-bit on Win-10, but many more...

sergioantonio2013

  • New Member
  • *
  • Posts: 22
Re: TValueListEditor and selected row color
« Reply #2 on: October 17, 2019, 06:13:11 pm »
That did it.

Thanks.

 

TinyPortal © 2005-2018