Click here to Skip to main content
15,906,708 members

Comments by Member 3920873 (Top 3 by date)

Member 3920873 27-Aug-13 9:12am View    
Yes I have tried using the SpliterPanel.AutoScroll then I need :
when move vertically both of them scroll together when move horizontally only the right form move
That is why I need to know how to reference to the form, but now I try to use graphic on picturebox so I can manage them just from the event of main form.
Thank you very much for attention.

Best Regards,
wayans
Member 3920873 26-Aug-13 10:07am View    
Helo F.X, My App is about GantChart combine with Line curve, they are plotted on a single windows form. Then I need to "freeze" the form so the user could see the left Task while scrolling the GantChart at right side to the part they want to see, the same behave as the "freeze" function in ms.Excel sheet. I look for that in VB Net and try to use SplitContainer. Is there another simpler way to produce the "freeze" like in Excel Sheet ?
Thank you.
Member 3920873 26-Aug-13 7:36am View    
@SA :
Thank you for your comment, my application is Windows Form,
Here is the code to load the form into SplitContainer Panel :

Public Class Form1
Public frmLeft As New Form2
Public Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load

Dim frmRight As New Form3

frmLeft.TopLevel = False
frmRight.TopLevel = False
frmLeft.Parent = SplitContainer1.Panel1
frmRight.Parent = SplitContainer1.Panel2
frmLeft.Show()
frmRight.Show()

End Sub

End Class