• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 181
  • Last Modified:

MSFlexgrid question please

I have a form with 2 MSFlexgrids.
The top grid is simply there for COLUMN TITLES.
The second grid (beneath it has the data rows)
(I HAVE TO HAVE it this way. Don't suggest putting the titles in the lower grid please.)
The top grid has:
NAME                 ADDRESS                 CITY             STATE             ZIP              
for example.

The lower grid does not fit horizontally on the screen so there are scroll bars right to left.
Everything looks good untill I scroll the bottom grid, then of course, the top grid column lables are wrong becuase it does not scroll too.
My question is, can I make it scroll too or follow the scrolling of the bottom grid?

0
yyuubum2
Asked:
yyuubum2
1 Solution
 
_lv_Commented:
Well...i won't suggest you to have one flexgrid instead of two if you like to knock your head into the wall so much :-), but obviously you can scroll both flexgrids simultaneously:

Private Sub Lower_grid_Scroll()
Upper_grid.LeftCol = Lower_grid.LeftCol
End Sub

0
 
yyuubum2Author Commented:
Excellent! Exactly!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now