I want to hide and show the side panel in a beautiful, uninterrupted way You have used several methods, including changing the Panel width also use way to change the location
`Increase the width
` For i = 0 To 100 Step 10
Panel1.Width = i
Application.DoEvents()
Me.Refresh()
Next`
decrease the width
For i = 100 To 0 Step -10
Panel1.Width = i
Next
the code to change location
hide panel
Do Until Panel1.Location.X = 1020
Panel1.Location = New Point(Panel1.Location.X + 10, 60)
Application.DoEvents()
Me.Refresh()
Loop
show panel
`Do Until Panel1.Location.X = 830
Panel1.Location = New Point(Panel1.Location.X - 10, 60)
Application.DoEvents()
Me.Refresh()
Loop`
`
All the methods you use are not fast in motion and Intermittent Is there a special library for moving stuff i use visual studio 2008 video for problem enter link description here