?
Solved

SMOOTH PANNING LEFT RIGHT NAVIGATION PANEL INSIDE FLOWLAYOUTPANEL

Posted on 2011-02-13
8
Medium Priority
?
995 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
Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

 
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 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Progress

800 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