Allright - solves my first problem with getting cords but how about setting all columns focus of specific row by clicking on any of the them ? For example I have 2x3 grid and I am clicking cell [1][1] and I want to highlight [0][1] and [1][2] etc.
Thanks - it works. I got another question - how to set focus on entire row/column/specific row & column ? Is it even possible ? I am asking about something like Grid.setFocus(row,column).
You can still use Grid.CurrentRow and Grid.CurrentColumn properties properties to select required cell. Then, use Grid.SetFocus method (standard VCL method).
As noted, you should use Grid.CurrentRow and Grid.CurrentColumn properties properties to select required cell. And only then, use Grid.SetFocus method:
Comments