Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

How do I focus on a cell in a scrolling FlexGrid ?

Status
Not open for further replies.

Nojj

Computer
Apr 8, 2003
10
I have an MSFlexGrid with lots of rows so it has a vertical scroll-bar. How do I set the focus on a cell which is off the screen (i.e. force the flexgrid to scroll down until it shows)?


 
Replies continue below

Recommended for you

Look at the .TopRow property. It sets or returns the top visible row of the Flexgrid, so setting it to the selected row will show the selected row at the top of the grid.

Good Luck
johnwm
________________________________________________________
To get the best from these forums read faq731-376 before posting
 
Thanks a lot JohnWM. That does the trick!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor