Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Select last row in MSHFlexGrid

Status
Not open for further replies.

Andrzejek

Programmer
Jan 10, 2006
8,486
5
38
US
I have a MSHFlexGrid on my Form and I can populate it from the data base, no problem:
[tt]
Set MSHFlexGrid1.DataSource = rstSomeRecordset[/tt]

When I select any row in the Grid, all is fine, except when I want to select very last row. The selection 'jumps' to the next to last row instead. It looks - at the same time - like vertical scroll bar was used to move all rows down and last row is below the visible portion of the grid. I can slid it up to see the last row, but cannot select it.

Any ideas [ponder]


---- Andy

There is a great need for a sarcasm font.
 
For now, as a work-around, I have increased the height of the last row in the Grid. And that seems to help selecting the last entry. Hopefully there is a better way to resolve my issue...


---- Andy

There is a great need for a sarcasm font.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top