Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
newuser99  
#1 Posted : Monday, July 16, 2018 7:16:30 AM(UTC)
newuser99

Rank: Newbie

Groups: Registered
Joined: 5/30/2018(UTC)
Posts: 7
Location: Atlanta

Thanks: 3 times
I found an article about possibly doing this in the .NET version, but I am working in Access, and the events seem different enough where I am not sure. I am studying it, but thought I would ask, maybe someone has already figured it out, or others might be interested in the answer.

The forum article about doing it in the .NET version was: https://10tec.com/forum/...eze-columns-in-iGrid-NET

Private Sub IGrid2_VScrollBarScroll(sender As Object, e As iGScrollEventArgs) Handles IGrid2.VScrollBarValueChanged
IGrid1.VScrollBar.Value = IGrid2.VScrollBar.Value
End Sub

Private Sub IGrid1_VScrollBarScroll(sender As Object, e As iGScrollEventArgs) Handles IGrid1.VScrollBarValueChanged
IGrid2.VScrollBar.Value = IGrid1.VScrollBar.Value
End Sub

I am going to look in the Access code samples too, but if anyone has a hint, I'm all ears!

Thanks.

Edited by user Monday, July 16, 2018 7:19:50 AM(UTC)  | Reason: Not specified

newuser99  
#2 Posted : Tuesday, July 17, 2018 6:21:03 PM(UTC)
newuser99

Rank: Newbie

Groups: Registered
Joined: 5/30/2018(UTC)
Posts: 7
Location: Atlanta

Thanks: 3 times
Slightly different in the ActiveX version, but this works in Access2016.

NOTE: I only have vertical scroll bars, so I don't check eBar for the correct bar, but I could


Private Sub iGrid1_ScrollBarPosChanged(ByVal eBar As Long, ByVal lValue As Long)

iGrid2.VScrollBar.Value = iGrid1.VScrollBar.Value
Exit Sub
End Sub

Edited by user Tuesday, July 17, 2018 6:22:46 PM(UTC)  | Reason: Slight typo - corrected.

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.