I am looking for a way to slide a panel from off screen to on screen and then back again.
I have done some searching on the forum but seem to only find example in libs'
How can I do this?
Make the initial left property to -panel1.width then increase it by incriminating the left with the speed you wish (timer).
you do the opposite when you want to hide it.
Timer1_Tick
If Panel1.Left < 0 then
Panel1.Left = Panel1.Left + (value)
If Panel1.left = 0 (or any other value depending on its width) then
Timer1.Enabled = False