Reputation: 85
I have a form that contains two subforms. I'm trying to sync the horizontal bar so when the user moves the bar to the left or right on either subform they both move at the same time.
Upvotes: 0
Views: 286
Reputation: 1910
This is possible, by nesting the two subforms (A and B) in another subform (C).
Within form C, subforms A and B are sized to their full widths, so they won't have horizontal scrollbars.
Within the main form, subform C is sized to fit the width of the main form.
When the main form is open, subform C's horizontal scrollbar will scroll subforms A and B in unison.
(This is what Andre suggested, but worded differently!)
Upvotes: 1