Greetings fellow developers i just want to ask for help on how to slide the panel from right to left of the screen. I only know the sliding panel from left-to-right but is it possible to slide the panel from right-to-left?
Jake.20
0
Junior Poster in Training
Recommended Answers
Jump to PostIf you are only wanting to increase the width (on the left) you will have to reposition the panel on resize to give the user the illusion it is only increasing the width on the left.
For exmaple:
Do While Panel1.Width < 730 Panel1>Width += 1 Panel1.Location …
Jump to PostYou might want to consider a further check that X doesn't go less than zero. Something like:
Do While Panel1.Width < 730 andalso Panel1.Location.X > 0
All 5 Replies
Begginnerdev
256
Junior Poster
Jake.20
0
Junior Poster in Training
Begginnerdev
256
Junior Poster
tinstaafl
1,176
Posting Maven
Begginnerdev
commented:
Very true! :)
+8
Jake.20
0
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.