SMOOTH PANNING LEFT RIGHT NAVIGATION PANEL INSIDE FLOWLAYOUTPANEL

Hi All,

I dynamically load panels to flowlayoutpanel.

How could I smoothly panning left or right ?

Thank you.
LVL 1
emi_sastraAsked:
Who is Participating?
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
Is the FlowLayoutPanel flickering on scroll?
...or are you asking how to be able to drag on the panels themselves to make the FlowLayoutPanel scroll?
0
 
emi_sastraAuthor Commented:
There are two arrow button, left and right.
When one of them clicked the the images inside the flp is panning ?

That's what I am looking for.

Thank you.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
Mike TomlinsonMiddle School Assistant TeacherCommented:
So is the FlowLayoutPanel full of images and the SCROLLBARS have already appeared...and you want the buttons to scroll it?

Or there are not scrollbars, but you want it to move back and forth to images that are not currently visible just as if there were scrollbars?  (but not jump discreetly when you "page")...
0
 
emi_sastraAuthor Commented:
There is no scroll bar from FlowLayoutPanel, it is a button.

All Images are current in FlowLayoutPanel, we just show portion of it.

Thank you.
0
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
Not sure exactly what effect you're after here...

I think what you need to do is shift the Location() property of all the currently visible Images to the left or right as the buttons are pushed.  When an Image is completely shifted out of sight you simply remove it from the Panel.  This could be checked by converting the ClientRectnagles to SCREEN coords via the RectangleToScreen() method and then using the IntersectsWith() function.

When enough space is available to the left/right of the images at the edges then you add another dynamic image to the panel.
0
 
emi_sastraAuthor Commented:
Please see tyre mark at bottom of the screen.

There scroll image at left and right.
Thank you.
MAIN-FORM.bmp
0
 
emi_sastraAuthor Commented:
Yes, it helps.

Thank you very much for your help.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.