WebStringGrid and selected cells/rows

Hi

Is it possible to check a cell/row for if it have been selected or do I have to use the select event to keep track of what is selected or not ?

BR
Eirik

grid.Row: integer / grid.Col: integer properties indicate the selected cell.

Hi

That will return the current cell but what if I have selected multiple cells like :

The StringGrid have option gRowSelect set to true.

BR
Eirik

Did you try: grid.Selection: TGridRect

Thanks!

That solved it.

BR
Eirik