Solved

SMOOTH PANNING LEFT RIGHT NAVIGATION PANEL INSIDE FLOWLAYOUTPANEL

Posted on 2011-02-13
8
987 Views
Last Modified: 2012-05-11
Hi All,

I dynamically load panels to flowlayoutpanel.

How could I smoothly panning left or right ?

Thank you.
0
Comment
Question by:emi_sastra
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 86

Expert Comment

by:Mike Tomlinson
ID: 34885314
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
 
LVL 1

Author Comment

by:emi_sastra
ID: 34885341
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
 
LVL 86

Expert Comment

by:Mike Tomlinson
ID: 34885472
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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
LVL 1

Author Comment

by:emi_sastra
ID: 34885605
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
 
LVL 86

Expert Comment

by:Mike Tomlinson
ID: 34885726
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
 
LVL 1

Author Comment

by:emi_sastra
ID: 34885795
Please see tyre mark at bottom of the screen.

There scroll image at left and right.
Thank you.
MAIN-FORM.bmp
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 34886415
0
 
LVL 1

Author Comment

by:emi_sastra
ID: 34887356
Yes, it helps.

Thank you very much for your help.
0

Featured Post

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn different types of Android Layout and some basics of an Android App.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Progress

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question