Solved

SMOOTH PANNING LEFT RIGHT NAVIGATION PANEL INSIDE FLOWLAYOUTPANEL

Posted on 2011-02-13
8
969 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
  • 4
  • 3
8 Comments
 
LVL 85

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 85

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
 
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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 85

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

708 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now