Board index » delphi » Double click to highlight a stringgrid row

Double click to highlight a stringgrid row


2007-07-29 01:46:16 AM
delphi211
Hi there,
I want to be able to double click on a row in a stringgrid and have
that row highlighted, I want to be able to do this with a further 3
rows so that I will have 4 highlighted rows displaying.
How do I highlight a row and do I need to do anything extra to be able
to have 4 rows highlighted?
Thanks for any help.
 
 

Re:Double click to highlight a stringgrid row

XXXX@XXXXX.COM writes:
Quote
I want to be able to double click on a row in a stringgrid and have
that row highlighted, I want to be able to do this with a further 3
rows so that I will have 4 highlighted rows displaying.

You can do this with a TListview by setting RowSelect and MultiSelect
to TRUE. then highlighting occurs at a single click and multiple rows
can be added using the shift or control keys and the mouse - like a
standard windows program.
Kimberly