Hi
I'm using a flexgrid and the number of columns goes past the visible area of the grid.
In the grid's Click event I have a subroutine that selects data from the column clicked on by using .mousecol.
When clicking on the last visible column, which is wider than the remaining visible area for the grid, the .mousecol value is one more than the clicked column, and the clicked column is no longer the last visible column. The next one is.
This only happens when the scroll bar is as far left as it will go (i.e. initial position)
I presume the grid is moving the columns across as it is clicked and registering the new last visible column.
Is there a way to get round this so I can get the column I want?
Thanks
I'm using a flexgrid and the number of columns goes past the visible area of the grid.
In the grid's Click event I have a subroutine that selects data from the column clicked on by using .mousecol.
When clicking on the last visible column, which is wider than the remaining visible area for the grid, the .mousecol value is one more than the clicked column, and the clicked column is no longer the last visible column. The next one is.
This only happens when the scroll bar is as far left as it will go (i.e. initial position)
I presume the grid is moving the columns across as it is clicked and registering the new last visible column.
Is there a way to get round this so I can get the column I want?
Thanks