Link to home
Start Free TrialLog in
Avatar of skerrypa
skerrypa

asked on

TopRow property of MS Flex Grid control

I have a form in Visual Basic 5 which has two MS Flex Grid controls and a standard vertical scroll bar.  I want to be able to scroll both grids with the same scroll bar.

The problem is that any setting of the FlexGrid control's TopRow property, which would allow the scrolling effect, is ignored.  The code in the VSB's scroll event is as follows.

FLEX.TopRow = VSB.Value

Stepping through this code has proven that this line is being processed but the TopRow property does not change.

Does anyone have a workaround using a different property, or possibly an API call?

ASKER CERTIFIED SOLUTION
Avatar of Maximka
Maximka

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of skerrypa
skerrypa

ASKER

That will do fine.  I'll just mask the scroll bars that I'm not using.

Thanks very much.